xref: /freebsd/usr.bin/bmake/tests/shell/builtin/Makefile.test (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
1#
2# In compat mode (the default without -j) a line that contains no shell
3# meta characters and no shell builtins is not passed to the shell but
4# executed directly. In our example the ls line without meta characters
5# will really execute ls, while the line with meta characters will execute
6# our special shell.
7#
8
9.SHELL: path="${.CURDIR}/sh"
10
11.PHONY: builtin no-builtin
12
13builtin:
14	@exec ls -d .
15
16no-builtin:
17	@ls -d .
18