summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-02-10 07:58:08 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-02-10 07:58:08 -0500
commit37f009ae2216b52ff27fb05e5f42c37a651763dc (patch)
tree7627ac947024e305266abfb8ca92dcf617716d55 /tests
parentd8565d78d7f2b05d166800cb914390e4ffad8e50 (diff)
downloade2fsprogs-37f009ae2216b52ff27fb05e5f42c37a651763dc.tar.gz
Set the C locale in the tests/test_script driver
Since the test_script driver uses [A-Za-z], we need to set the locale so we don't get bitten on locals where the sort order might be different. Addresses-Sourceforge-Bug: #1890526 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_script.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_script.in b/tests/test_script.in
index 9dbbaf84..be0e9128 100644
--- a/tests/test_script.in
+++ b/tests/test_script.in
@@ -3,6 +3,9 @@
# Test script for e2fsck
#
+LC_ALL=C
+export LC_ALL
+
case "$1" in
--valgrind)
export USE_VALGRIND="valgrind -q --weird-hacks=lax-ioctls"