From: Jim Meyering Date: Wed, 3 May 2000 11:07:51 +0000 (+0000) Subject: Define LC_ALL instead of LANG, in case the user has X-Git-Tag: SH-UTILS-2_0h~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93e3e3a5a8297e4f902035f481e9dd811714323d;p=thirdparty%2Fcoreutils.git Define LC_ALL instead of LANG, in case the user has LC_CTYPE or LC_ALL set. Define it and LANGUAGE before the first "sort" call. --- diff --git a/tests/rm/r-2 b/tests/rm/r-2 index cd4a3abd0c..2bba1f5c6b 100755 --- a/tests/rm/r-2 +++ b/tests/rm/r-2 @@ -16,6 +16,11 @@ mkdir $tmp $tmp/a $tmp/a/b > $tmp/a/f > $tmp/a/b/g +LANGUAGE=C +export LANGUAGE +LC_ALL=C +export LC_ALL + # FIXME: if this fails, it's a framework failure cat < $tmp/$test.E removing all entries of directory $tmp/a @@ -26,11 +31,6 @@ removing $tmp/a/f removing the directory itself: $tmp/a EOF -LANGUAGE=C -export LANGUAGE -LANG=C -export LANG - # Note that both the expected output (above) and the actual output lines # are sorted, because directory entries may be processed in arbitrary order. fail=0