source:
trunk/essentials/dev-lang/perl/t/win32/system.t@
3951
| Last change on this file since 3951 was 3181, checked in by , 19 years ago | |
|---|---|
| File size: 3.5 KB | |
| Line | |
|---|---|
| 1 | #!perl |
| 2 | |
| 3 | BEGIN { |
| 4 | chdir 't' if -d 't'; |
| 5 | # We need '../../lib' as well as '../lib' because parts of Config are |
| 6 | # delay-loaded, after we've chdir()'ed into $testdir. |
| 7 | @INC = ('../lib', '../../lib'); |
| 8 | # XXX this could be further munged to enable some parts on other |
| 9 | # platforms |
| 10 | unless ($^O =~ /^MSWin/) { |
| 11 | print "1..0 # skipped: windows specific test\n"; |
| 12 | exit 0; |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | use File::Path; |
| 17 | use File::Copy; |
| 18 | use Config; |
| 19 | use Cwd; |
| 20 | use strict; |
| 21 | |
| 22 | $| = 1; |
| 23 | |
| 24 | my $cwd = cwd(); |
