From 4568f387a0bf2a2071d9bee80475de4eee6bcc3e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 28 Oct 2026 13:59:57 -0500 Subject: [PATCH] Forgot to check in the new test plumbing (set RAW= to empty to _not_ expand escapes in the output and stdin, treat both as literal strings and caller can use $'' if you need anything fancy). --- scripts/runtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/runtest.sh b/scripts/runtest.sh index ebaed21b..4a10b4e6 100644 --- a/scripts/runtest.sh +++ b/scripts/runtest.sh @@ -136,9 +136,9 @@ testing() return 0 fi - echo -ne "$3" > "$TESTDIR"/expected + echo -n${RAW-e} "$3" > "$TESTDIR"/expected [ ! -z "$4" ] && echo -ne "$4" > input || rm -f input - echo -ne "$5" | ${EVAL:-eval --} "$2" > "$TESTDIR"/actual + echo -n${RAW-e} "$5" | ${EVAL:-eval --} "$2" > "$TESTDIR"/actual RETVAL=$? # Catch segfaults -- 2.39.5