From bcff3a7b5ab3302ea03a471bae195f8454008a20 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 7 Sep 2021 18:24:08 +0200 Subject: shell/ash_test/run-all: unset locale/language variables Signed-off-by: Denys Vlasenko --- shell/ash_test/run-all | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'shell/ash_test/run-all') diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all index b9f5ee7..96703ef 100755 --- a/shell/ash_test/run-all +++ b/shell/ash_test/run-all @@ -1,5 +1,14 @@ #!/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` if test ! -x ash; then @@ -66,7 +75,7 @@ do_test() diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \ && rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail" } && echo " ok" || echo " fail" - done + done ) } -- cgit v1.1