diff options
Diffstat (limited to 'usr.bin/bmake/tests/shell/builtin/Makefile.test')
-rw-r--r-- | usr.bin/bmake/tests/shell/builtin/Makefile.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/bmake/tests/shell/builtin/Makefile.test b/usr.bin/bmake/tests/shell/builtin/Makefile.test new file mode 100644 index 000000000000..111bb1821bf9 --- /dev/null +++ b/usr.bin/bmake/tests/shell/builtin/Makefile.test @@ -0,0 +1,17 @@ +# +# In compat mode (the default without -j) a line that contains no shell +# meta characters and no shell builtins is not passed to the shell but +# executed directly. In our example the ls line without meta characters +# will really execute ls, while the line with meta characters will execute +# our special shell. +# + +.SHELL: path="${.CURDIR}/sh" + +.PHONY: builtin no-builtin + +builtin: + @exec ls -d . + +no-builtin: + @ls -d . |