3 $description = "Test the behaviour of the .PHONY target.";
8 # Ensure turning on .POSIX enables the -e flag for the shell
9 # We can't just use "false" because on different systems it provides a
10 # different exit code.
14 all: ; @r() { return 1; }; r; true
16 '', "#MAKE#: *** [all] Error 1\n", 512);
18 # User settings must override .POSIX
23 all: ; @r() { return 1; }; r; true
25 '', "+ r\n+ return 1\n+ true\n");
27 # This tells the test driver that the perl test script executed properly.