3 # 15.08.2007 Volker Quetschke
4 # Another check that the .PHONY attribute works with %-targets. This test
5 # was still failing after issue 66751.
13 tmpfiles
="$file1 $file2 $file3 $file4"
15 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
17 # Remove files from prior failed run
20 # Remember to quote variables in generated makefiles( $ -> \$ ).
27 @+printf " and \$@.\n"
36 # Create test environment
37 touch aa.z
; sleep 1; touch aa.y
; sleep 1 ;touch aa.x
38 # Avoid that aa.x has the same time stamp as aa.y after
39 # that has been rebuild.
42 output1
=`eval ${DMAKEPROG} -rf $file1 aa.x 2>&1 `
45 if test "$output1" != "Build aa.y and aa.x."; then
46 echo "Wrong result: $output1"
52 if test $result1 -eq 0 ; then
53 echo "Success - Cleaning up"