Term/Cap.t attempts to access the floppy drive for no good reason
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 26 Oct 2001 15:34:31 +0000 (15:34 +0000)
committerGurusamy 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

index 86198dc791c34b0852243be690cecb602e823a64..438a144f09b814283f802c1b340c11a6875c2ea4 100644 (file)
@@ -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}' );
 }