mirror of
https://github.com/mirror/make.git
synced 2026-09-06 06:35:00 +08:00
* tests/scripts/misc/general4: Only test empty PATH on UNIX
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user