mirror of
https://github.com/mirror/make.git
synced 2026-09-06 06:35:00 +08:00
Inverted the boolean test from what I wanted it to be. Added a
regression test to make sure this continues to work.
This commit is contained in:
@@ -88,4 +88,16 @@ all: ; @echo $(wildcard xz--y*.7)
|
||||
!,
|
||||
'', "\n");
|
||||
|
||||
# TEST #5: wildcard used to verify file existence
|
||||
|
||||
touch('xxx.yyy');
|
||||
|
||||
run_make_test(q!exists: ; @echo file=$(wildcard xxx.yyy)!,
|
||||
'', "file=xxx.yyy\n");
|
||||
|
||||
unlink('xxx.yyy');
|
||||
|
||||
run_make_test(q!exists: ; @echo file=$(wildcard xxx.yyy)!,
|
||||
'', "file=\n");
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user