tests: fix test for 3.6.2 changes

This commit is contained in:
David Adam 2023-12-04 23:42:25 +08:00
parent a51437ec83
commit f471810408

View File

@ -592,8 +592,8 @@ $fish -c 'echo \ufdd2"fart"'
# CHECKERR: echo \ufdd2"fart"
# CHECKERR: ^~~~~~~~~~~^
echo (sh -c 'printf $\'\ufdd2foo\'') | string escape
# CHECK: \Xef\Xb7\X92foo
echo (sh -c 'printf \$\'\ufdd2foo\'') | string escape
# CHECK: \$\\ufdd2foo
printf '%s\n' "#!/bin/sh" 'echo $0' > $tmpdir/argv0.sh
chmod +x $tmpdir/argv0.sh