3 # 07.10.2006 Volker Quetschke
4 # Check if the line of the error is issued
11 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
13 # Remove files from prior failed run
16 # Remember to quote variables in generated makefiles ( $ -> \$ ).
17 # Also quote line continuations ( \<nl> -> \\<nl> ).
29 output
=`eval ${DMAKEPROG} -r -f $file1 2>&1`
32 if echo "$output" |
grep 'line .: Error: --' > /dev
/null
2>&1 ; then
37 echo "Test 1: Wrong result: $output"
42 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
43 test $result -ne 0 && echo "Failure!"