diff options
-rw-r--r-- | tests/scripts/misc/general4 | 10 | ||||
-rw-r--r-- | tests/test_driver.pl | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/scripts/misc/general4 b/tests/scripts/misc/general4 index cfd69a89..8dcd89fa 100644 --- a/tests/scripts/misc/general4 +++ b/tests/scripts/misc/general4 @@ -136,11 +136,13 @@ all: ; $sname unlink($sname); -# SV 57674: ensure we use a system default PATH if one is not set -delete $ENV{PATH}; -run_make_test(q! +if ($port_type eq 'UNIX') { + # SV 57674: ensure we use a system default PATH if one is not set + delete $ENV{PATH}; + run_make_test(q! a: ; @echo hi !, - '', "hi\n"); + '', "hi\n"); +} 1; diff --git a/tests/test_driver.pl b/tests/test_driver.pl index 38b848f2..93801956 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -413,7 +413,6 @@ sub get_osname elsif ($osname =~ m%OS/2%) { $port_type = 'OS/2'; } - # VMS has a GNV Unix mode or a DCL mode. # The SHELL environment variable should not be defined in VMS-DCL mode. elsif ($osname eq 'VMS' && !defined $ENV{"SHELL"}) { |