diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-08 01:17:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-08 01:17:03 +0000 |
commit | c28a75b16805a315bb60f805265775bad5e6d198 (patch) | |
tree | 22464becb51a94f507cea220882ff2c63c755733 /sys-fs/e2fsprogs/files | |
parent | new package (corrects a small bug in the way that TeX centers ellipses) (diff) | |
download | gentoo-2-c28a75b16805a315bb60f805265775bad5e6d198.tar.gz gentoo-2-c28a75b16805a315bb60f805265775bad5e6d198.tar.bz2 gentoo-2-c28a75b16805a315bb60f805265775bad5e6d198.zip |
Fix running tests in different locales #99766 by Attila Stehr.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-fs/e2fsprogs/files')
-rw-r--r-- | sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch new file mode 100644 index 000000000000..6c316ac2a38b --- /dev/null +++ b/sys-fs/e2fsprogs/files/e2fsprogs-1.38-tests-locale.patch @@ -0,0 +1,26 @@ +Since the tests analyze the output messages, force the default locale. + +http://bugs.gentoo.org/99766 + +--- tests/test_script.in ++++ tests/test_script.in +@@ -3,6 +3,19 @@ + # Test script for e2fsck + # + ++# NLS nuisances. ++for as_var in \ ++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ ++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ ++ LC_TELEPHONE LC_TIME ++do ++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then ++ eval $as_var=C; export $as_var ++ else ++ unset $as_var ++ fi ++done ++ + if test "$1"x = x ; then + TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | $EGREP -v "\.failed|\.new"` + else |