diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-21 08:43:48 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-21 08:43:48 +0000 |
commit | 63b38b604ef39ee14b693bccd8b54d416e832d2c (patch) | |
tree | ce07b3294d35305fea577d90b03670870aecd27d /t | |
parent | 3e952a8875b864d3a3699ca8a314a85daae5236c (diff) | |
parent | df13269938f73869829eeb0e7aa62c17d44ae573 (diff) | |
download | perl-63b38b604ef39ee14b693bccd8b54d416e832d2c.tar.gz |
Integrate mainline
p4raw-id: //depot/perlio@16038
Diffstat (limited to 't')
-rwxr-xr-x | t/op/exec.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/op/exec.t b/t/op/exec.t index 4c1b36ae2e..a0f361a8e3 100755 --- a/t/op/exec.t +++ b/t/op/exec.t @@ -81,8 +81,7 @@ my $exit_one = $Is_VMS ? 4 << 8 : 1 << 8; is( system(qq{$Perl "-I../lib" -e "use vmsish qw(hushed); exit 1"}), $exit_one, 'Explicit exit of 1' ); - -$rc = system "lskdfj"; +$rc = system { "lskdfj" } "lskdfj"; unless( ok($rc == 255 << 8 or $rc == -1 or $rc == 256 or $rc == 512) ) { print "# \$rc == $rc\n"; } |