shell/ash_test/run-all: unset locale/language variables

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-09-07 18:24:08 +02:00
parent 64aa86b720
commit bcff3a7b5a

View File

@ -1,5 +1,14 @@
#!/bin/sh #!/bin/sh
unset LANG LANGUAGE
unset LC_COLLATE
unset LC_CTYPE
unset LC_MONETARY
unset LC_MESSAGES
unset LC_NUMERIC
unset LC_TIME
unset LC_ALL
TOPDIR=`pwd` TOPDIR=`pwd`
if test ! -x ash; then if test ! -x ash; then
@ -66,7 +75,7 @@ do_test()
diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \ diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \
&& rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail" && rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail"
} && echo " ok" || echo " fail" } && echo " ok" || echo " fail"
done done
) )
} }