summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2021-09-07 18:24:08 +0200
committerDenys Vlasenko2021-09-07 18:24:08 +0200
commitbcff3a7b5ab3302ea03a471bae195f8454008a20 (patch)
tree1c52b80e677f8e011d91a715235f43e3fe1647f3 /shell
parent64aa86b720641cb50be9636e6c20d4dbbea6fed0 (diff)
downloadbusybox-bcff3a7b5ab3302ea03a471bae195f8454008a20.zip
busybox-bcff3a7b5ab3302ea03a471bae195f8454008a20.tar.gz
shell/ash_test/run-all: unset locale/language variables
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rwxr-xr-xshell/ash_test/run-all11
1 files changed, 10 insertions, 1 deletions
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
)
}