tests: quote PATH in external-builders test heredoc

The external-builders test expands `$PATH` into a heredoc without quotes,
so any `PATH` entry containing spaces causes bash to parse the line as a
command instead of an assignment, failing the test.
This commit is contained in:
Amaan Qureshi
2026-02-16 20:11:52 -05:00
parent e7e5eaaa37
commit 0b7629da08

View File

@@ -23,7 +23,7 @@ external_builder="$TEST_ROOT/external-builder.sh"
cat > "$external_builder" <<EOF
#! $SHELL -e
PATH=$PATH
PATH=${PATH@Q}
[[ "\$1" = bla ]]