xref: /freebsd/usr.bin/bmake/tests/shell/builtin/Makefile.test (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
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