summaryrefslogtreecommitdiff
path: root/t/op/die_exit.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/die_exit.t')
-rwxr-xr-xt/op/die_exit.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/die_exit.t b/t/op/die_exit.t
index f758f9c237..18d8babfdc 100755
--- a/t/op/die_exit.t
+++ b/t/op/die_exit.t
@@ -50,7 +50,7 @@ foreach my $test (1 .. $max) {
my($bang, $query, $code) = @{$tests{$test}};
$code ||= 'die;';
my $exit =
- ($^O eq 'MSWin32'
+ (($^O eq 'MSWin32' || $^O eq 'NetWare')
? system qq($perl -e "\$! = $bang; \$? = $query; $code" 2> nul)
: system qq($perl -e '\$! = $bang; \$? = $query; $code' 2> /dev/null));