commit 9b88ff2e58ddb6b405c0a2980765f1a44cf4d86d
parent cf377ee546dbf7aabfff092bc76760e9bfc12a89
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 24 Oct 2024 18:09:20 +0200
tests/make: Quote EOF heredoc marker
$? was expanded like a shell variable.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/make/execute/0084-rule.sh b/tests/make/execute/0084-rule.sh
@@ -11,7 +11,7 @@ touch -t 200711121015 f1 f2
touch -t 200711121016 f
touch -t 200711121017 f3
-(scc-make -f- > $tmp1 2>&1) <<EOF
+(scc-make -f- > $tmp1 2>&1) <<'EOF'
f: f1 f2 f3
@echo $?
EOF