3 # 29.07.2006 Volker Quetschke
4 # Test builtin echo command.
11 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
13 trap 'rm -rf $tmpfiles' 1 2 3 15
15 # Remember to quote variables in generated makefiles( $ -> \$ ).
17 # internal echo - This test might fail later if the internal echo ever
18 # learns to handle quotes.
28 output
=`eval ${DMAKEPROG} -r -f $file1`
30 if test "$output" != "\"AB CD\"XY"; then
31 echo "Wrong result: $output"
36 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
37 test $result -ne 0 && echo "Failure!"