projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63141bc
)
Term/Cap.t attempts to access the floppy drive for no good reason
author
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 26 Oct 2001 15:34:31 +0000
(15:34 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 26 Oct 2001 15:34:31 +0000
(15:34 +0000)
on dosish systems
p4raw-id: //depot/perl@12695
lib/Term/Cap.t
patch
|
blob
|
history
diff --git
a/lib/Term/Cap.t
b/lib/Term/Cap.t
index 86198dc791c34b0852243be690cecb602e823a64..438a144f09b814283f802c1b340c11a6875c2ea4 100644
(file)
--- a/
lib/Term/Cap.t
+++ b/
lib/Term/Cap.t
@@
-42,7
+42,7
@@
SKIP: {
ok( grep($file, Term::Cap::termcap_path()),
'termcap_path() should find file from $ENV{TERMCAP}' );
- $ENV{TERMCAP} =
(grep { $^O eq $_ } qw( os2 MSWin32 dos )) ? 'a:/' :
'/';
+ $ENV{TERMCAP} = '/';
ok( grep($file, Term::Cap::termcap_path()),
'termcap_path() should find file from $ENV{TERMPATH}' );
}