1
0
Files
irix-657m-src/eoe/cmd/pmake/tests/glob.test
2022-09-29 17:59:04 +03:00

23 lines
501 B
Plaintext

#
# This is a file to test pmake's globing abilities
#
#include <shx.mk>
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