3 # 22.07.2006 Volker Quetschke
4 # Verifies that $(nil expression) expand expression but returns "".
11 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
13 trap 'rm -rf $tmpfiles' 1 2 3 15
15 # Remember to quote variables in generated makefiles( $ -> \$ ).
17 # Testing nil function macro
25 \$(nil \$(assign AAA := OK))
29 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
32 if test $output1 = "XOKX" ; then
36 echo "Wrong result: $output1"
40 test $result1 -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
41 test $result1 -ne 0 && echo "Failure!"