3 # 13.06.2006 Volker Quetschke
4 # Check that `%.a %.b :| %.x %.y 'Z' ; recipe` rules are handled correctly.
5 # (issues 48087 and 65122)
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 # Expect dummy, all.pp and all.xx to be build
23 %.xx %.rr :| %.yy %.pp 'dummy' ; @+printf "\$@"
34 output1
=`eval ${DMAKEPROG} -r -f $file1 all.xx 2>&1 `
37 if echo $output1 |
grep 'dummyall.ppall.xx' > /dev
/null
2>&1 ; then
41 echo "Test 1: Wrong result: $output1"
46 if test $result1 -eq 0 ; then
47 echo "Success - Cleaning up"