3 # 26.01.2006 Volker Quetschke
4 # TMD is sometimes set incorrectly (issue 61170).
10 tmpfiles
="$file1 $file2"
12 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles "$file3"; }' 1 2 3 15
14 # Remove files from prior failed run
15 rm -rf $tmpfiles "$file3"
17 # Remember to quote variables in generated makefiles( $ -> \$ ).
35 all ".SETDIR=dirwith space" :
39 output1
=`eval ${DMAKEPROG} -r -f $file1`
41 output2
=`eval ${DMAKEPROG} -r -f $file2`
44 if test "$output1" = ""; then
45 echo "Test 1: Wrong result"
48 if test "$output2" != ".."; then
49 echo "Test 2: Wrong result"
53 if test $result1 -eq 0 -a $result2 -eq 0; then
54 echo "Success - Cleaning up"
55 rm -rf $tmpfiles "$file3"