gecko-dev/build/pymake/tests/shellfunc.mk
2009-03-26 16:24:51 -04:00

8 lines
146 B
Makefile

all: testfile
test "$(shell cat $<)" = "Hello world"
test "$(shell printf "\n")" = ""
@echo TEST-PASS
testfile:
printf "Hello\nworld\n" > $@