From: Theodore Ts'o Date: Sun, 10 Feb 2008 12:58:08 +0000 (-0500) Subject: Set the C locale in the tests/test_script driver X-Git-Tag: v1.40.7~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37f009ae2216b52ff27fb05e5f42c37a651763dc;p=thirdparty%2Fe2fsprogs.git 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" --- diff --git a/tests/test_script.in b/tests/test_script.in index 9dbbaf84f..be0e91283 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"