3 # 21.06.2007 Volker Quetschke
4 # Check that OOODMAKEMODE can switches of the ./foo to foo normalization.
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( $ -> \$ ).
21 .IMPORT : OOODMAKEMODE
23 # See if OOODMAKEMODE works
30 output1
=`eval OOODMAKEMODE="" ${DMAKEPROG} -rf $file1 2>&1 `
32 if test $result1 -ne 0 -o "$output1" != "XallY"; then
33 echo "Test 1: Wrong result: $output1"
38 output2
=`eval OOODMAKEMODE=y ${DMAKEPROG} -rf $file1 2>&1 `
40 if test $result2 -ne 0 -o "$output2" != "X./allY"; then
41 echo "Test 2: Wrong result: $output2"
45 if test $result1 -eq 0 -a $result2 -eq 0; then
46 echo "Success - Cleaning up"