1 # $Id: varshell.mk,v 1.4 2015/04/20 03:16:39 sjg Exp $
3 # Test VAR != shell command
5 EXEC_FAILED
!= /bin
/no
/such
/command
2> /dev
/null
6 # SunOS cannot handle this one
7 #TERMINATED_BY_SIGNAL != kill -14 $$$$
8 ERROR_NO_OUTPUT
!= false
9 ERROR_WITH_OUTPUT
!= echo
"output before the error"; false
10 NO_ERROR_NO_OUTPUT
!= true
11 NO_ERROR_WITH_OUTPUT
!= echo
"this is good"
13 allvars
= EXEC_FAILED TERMINATED_BY_SIGNAL ERROR_NO_OUTPUT ERROR_WITH_OUTPUT \
14 NO_ERROR_NO_OUTPUT NO_ERROR_WITH_OUTPUT
18 @echo
${v}=\'${${v}}\'