diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-07-26 18:13:04 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-07-26 18:13:04 +0000 |
commit | 669b450af2b2151b89f574fc0d92b80a181c8b58 (patch) | |
tree | bbd4cb97d2146d9255a4c328438c592a89bea016 /t/lib | |
parent | 47223a367d95f4dc59ba3d4c168a2648263556ab (diff) | |
download | perl-669b450af2b2151b89f574fc0d92b80a181c8b58.tar.gz |
File::Temp patches for VMS and OS/2 from Tim Jenness.
p4raw-id: //depot/perl@6447
Diffstat (limited to 't/lib')
-rwxr-xr-x | t/lib/ftmp-security.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/lib/ftmp-security.t b/t/lib/ftmp-security.t index 06799b3cfa..5f30f9651f 100755 --- a/t/lib/ftmp-security.t +++ b/t/lib/ftmp-security.t @@ -25,7 +25,7 @@ use File::Temp qw/ tempfile unlink0 /; ok(1); # The high security tests must currently be skipped on Windows -my $skipplat = ( $^O eq 'MSWin32' ? 1 : 0 ); +my $skipplat = ( ($^O eq 'MSWin32' || $^O eq 'os2') ? 1 : 0 ); # Can not run high security tests in perls before 5.6.0 my $skipperl = ($] < 5.006 ? 1 : 0 ); @@ -82,13 +82,13 @@ sub test_security { # of tests -- we dont use skip since the tempfile() commands will # fail with MEDIUM/HIGH security before the skip() command would be run if ($skip) { - + skip($skip,1); skip($skip,1); - + # plus we need an end block so the tests come out in the right order eval q{ END { skip($skip,1); skip($skip,1) } 1; } || die; - + return; } |