3 # 10.07.2006 Volker Quetschke
4 # Check that dmake warns if it encounters .SUFFIXES
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 # Check that we issue a warning.
27 output1
=`eval ${DMAKEPROG} -vw -rf $file1 2>&1 `
30 if echo $output1 |
grep 'Warning: -- The .SUFFIXES' > /dev
/null
2>&1 ; then
34 echo "Test 1: Wrong result: $output1"
39 if test $result1 -eq 0 ; then
40 echo "Success - Cleaning up"
44 echo "Failure! dmake failed to issue a warning."