3 # 29.07.2006 Volker Quetschke
4 # Test builtin commands.
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 # Test noop and empty lines
24 @noop bla bla \$(assign NOSHELL:=ABC)
25 @+noop bla bla \$(assign WITHSHELL:=DEF)
26 @echo \$(NOSHELL)\$(WITHSHELL)
30 output
=`eval ${DMAKEPROG} -r -f $file1`
32 if test "$output" != "ABCDEF"; then
33 echo "Wrong result: $output"
38 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
39 test $result -ne 0 && echo "Failure!"