diff options
Diffstat (limited to 'tests/scripts/variables')
-rw-r--r-- | tests/scripts/variables/automatic | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/tests/scripts/variables/automatic b/tests/scripts/variables/automatic index dc08bd7..847c836 100644 --- a/tests/scripts/variables/automatic +++ b/tests/scripts/variables/automatic @@ -87,11 +87,22 @@ run_make_test(' mbr.b: mbr.src @echo $* -mbr.src: ; @: +mbr.src: ; @:', + '', + 'mbr'); -', -'', -'mbr -'); +# TEST #3 -- test for Savannah bug #8154 +# Make sure that nonexistent prerequisites are listed in $?, since they are +# considered reasons for the target to be rebuilt. +# +touch('foo'); + +run_make_test(' +foo: bar ; @echo "\$$? = $?" +bar: ;', + '', + '$? = bar'); + +unlink('foo'); 1; |