3 # 05.02.2008 Volker Quetschke
4 # Check that OOODMAKEMODE=y does not normalize ./../foo.
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( $ -> \$ ).
23 # See if OOODMAKEMODE keeps ./../all
30 output1
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
32 if test $result1 -ne 0 -o "$output1" != "X./../allY"; then
33 echo "Test 1: Wrong result: $output1"
36 # Remember to quote variables in generated makefiles( $ -> \$ ).
43 # See if OOODMAKEMODE= removes the leading .
50 output2
=`eval ${DMAKEPROG} -rf $file1 2>&1 `
52 if test $result2 -ne 0 -o "$output2" != "X../allY"; then
53 echo "Test 2: Wrong result: $output2"
57 if test $result1 -eq 0 -a $result2 -eq 0 ; then
58 echo "Success - Cleaning up"