3 # 12.07.2007 Volker Quetschke
4 # Another %-target testcase.
10 tmpfiles
="$file1 $file2"
12 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
14 # Remove files from prior failed run
17 # Create test environment
20 # Remember to quote variables in generated makefiles( $ -> \$ ).
38 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
41 if test "$output1" != "building aaa.bbb"; then
42 echo "Wrong result: $output1"
48 if test $result1 -eq 0 ; then
49 echo "Success - Cleaning up"