[git commit] shell/ash_test/run-all: unset locale/language variables

Denys Vlasenko vda.linux at googlemail.com
Tue Sep 7 16:24:08 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=bcff3a7b5ab3302ea03a471bae195f8454008a20
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/ash_test/run-all | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all
index b9f5ee788..96703ef12 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
 	)
 }
 


More information about the busybox-cvs mailing list