projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
beeaa6f
)
perl5db.t: skip test when /dev/tty is not available
Alexey Tourbin [Sat, 17 Mar 2007 19:28:33 +0000 (22:28 +0300)]
Message-ID: <
20070317162833
.GA10670@solemn.turbinal>
p4raw-id: //depot/perl@30609
lib/perl5db.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/perl5db.t
b/lib/perl5db.t
index
9c95a5b
..
fe39292
100644
(file)
--- a/
lib/perl5db.t
+++ b/
lib/perl5db.t
@@
-14,6
+14,10
@@
BEGIN {
print "1..0 # Skip: no /dev/null\n";
exit 0;
}
+ if (!-c "/dev/tty") {
+ print "1..0 # Skip: no /dev/tty\n";
+ exit 0;
+ }
}
plan(1);