# # This is a file to test pmake's globing abilities # #include all ! {a,b,c,d} : should have executed a, b, c and d a ! *.test : All .test files $(.ALLSRC) test "$(.ALLSRC:Mglob*)" = "glob.test" b ! ../tests/glob* .IGNORE test "$(.ALLSRC)" = "../tests/glob.test" c ! {glob}.test test "$(.ALLSRC)" = "glob.test" d ! ../src/*.[ch] f="`echo $(.ALLSRC) | tr ' ' '\012' | sort | \ sed -n -e 1h -e '2,$H' -e '$x' -e '$s/\n/ /gp'`" test "`echo ../src/*.[ch]`"x = "$f"x