3 # 29.09.2006 Volker Quetschke
4 # Check if the directory cache can be made case insensitive
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 echo "Something" > $file2
19 # Remember to quote variables in generated makefiles ( $ -> \$ ).
20 # Also quote line continuations ( \<nl> -> \\<nl> ).
27 # Only test the directory cache for case insensitivity if the FS is also
29 .IF "\$(.DIRCACHERESPCASE)"!="y"
41 output
=`eval ${DMAKEPROG} -vm -r -f $file1`
44 if echo "$output" |
grep -v ".target' is up to date" > /dev
/null
2>&1 ; then
45 echo "Wrong result: ${output}"
49 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
50 test $result -ne 0 && echo "Failure!"