summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/misc/printf-quote.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/printf-quote.sh b/tests/misc/printf-quote.sh
index 43b6dcc84..02ce0c2a2 100755
--- a/tests/misc/printf-quote.sh
+++ b/tests/misc/printf-quote.sh
@@ -42,13 +42,13 @@ if test "$LOCALE_FR_UTF8" != "none"; then
#printable multi-byte
LC_ALL=$f $prog '%q\n' 'áḃç' > out
#non-printable multi-byte
- LC_ALL=$f $prog '%q\n' "$(LC_ALL=$f $prog '\u0378')" >> out
+ LC_ALL=$f $prog '%q\n' "$($prog '\xc2\x81')" >> out
#printable multi-byte in C locale
LC_ALL=C $prog '%q\n' 'áḃç' >> out
)
cat <<\EOF > exp || framework_failure_
áḃç
-''$'\315\270'
+''$'\302\201'
''$'\303\241\341\270\203\303\247'
EOF
compare exp out || fail=1