Sync with manuals from netbsd-8 branch.
[minix3.git] / usr.bin / make / unit-tests / varshell.mk
bloba0067360b104b9e698bd6f789b074bfa8ba010bd
1 # $Id: varshell.mk,v 1.2 2015/04/10 20:41:59 sjg Exp $
3 # Test VAR != shell command
5 EXEC_FAILED != /bin/no/such/command
6 TERMINATED_BY_SIGNAL != kill -14 $$$$
7 ERROR_NO_OUTPUT != false
8 ERROR_WITH_OUTPUT != echo "output before the error"; false
9 NO_ERROR_NO_OUTPUT != true
10 NO_ERROR_WITH_OUTPUT != echo "this is good"
12 allvars= EXEC_FAILED TERMINATED_BY_SIGNAL ERROR_NO_OUTPUT ERROR_WITH_OUTPUT \
13 NO_ERROR_NO_OUTPUT NO_ERROR_WITH_OUTPUT
15 all:
16 .for v in ${allvars}
17 @echo ${v}=\'${${v}}\'
18 .endfor