3 # 24.09.2006 Volker Quetschke
4 # TMD is sometimes set incorrectly (issue 69821).
11 tmpfiles
="$file1 $file2"
13 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles test1 test2; }' 1 2 3 15
15 # Remove files from prior failed run
16 rm -rf $tmpfiles test1 test2
18 # Remember to quote variables in generated makefiles( $ -> \$ ).
37 all ".SETDIR=../../$file3" :
41 output1
=`eval ${DMAKEPROG} -r -f $file1`
43 output2
=`eval cd $file4 ; ../../${DMAKEPROG} -r -f ../../$file2`
46 if test "$output1" != "."; then
47 echo "Test 1: Wrong result: $output1"
52 if test "$output2" != "../../test2/aaa"; then
53 echo "Test 2: Wrong result: $output2"
59 if test $result1 -eq 0 -a $result2 -eq 0; then
60 echo "Success - Cleaning up"
61 rm -rf $tmpfiles test1 test2