Files
UXP-mirror/build/pymake/tests/shellfunc.mk
2018-02-02 04:16:08 -05: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" > $@