commit 59595d29e5776583938bb14ccba7967be75d9c46 parent 8fd968ed136c188ba61fb876dc134a96df445f79 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Thu, 18 Jan 2024 15:53:34 +0100 tests/make: Add 0043-comment test Diffstat:
A | tests/make/execute/0043-comment.sh | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/tests/make/execute/0043-comment.sh b/tests/make/execute/0043-comment.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +trap 'rm $tmp1 $tmp2' EXIT INT QUIT TERM HUP + +tmp1=tmp1.$$ +tmp2=tmp2.$$ + +echo Hello World! > $tmp2 + +scc-make -f - <<'EOF' > $tmp1 +all: + @echo Hello World! +# blank line +EOF + +diff $tmp1 $tmp2