3 # 24.07.2006 Volker Quetschke
4 # Checks that $(mktmp ...) works.
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 mktmp function macro
22 @+cat \$(mktmp WRITTENTODISK)
26 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
29 if test $output1 = "WRITTENTODISK" ; then
33 echo "Wrong result: $output1"
37 test $result1 -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
38 test $result1 -ne 0 && echo "Failure!"