source: trunk/essentials/dev-lang/perl/t/win32/system.t@ 3951

Last change on this file since 3951 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 3.5 KB
Line 
1#!perl
2
3BEGIN {
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
16use File::Path;
17use File::Copy;
18use Config;
19use Cwd;
20use strict;
21
22$| = 1;
23
24my $cwd = cwd();