diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-03 11:07:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-03 11:07:51 +0000 |
commit | 93e3e3a5a8297e4f902035f481e9dd811714323d (patch) | |
tree | bd35523ee5437bc35089e528cd8aede7ce349364 /tests/rm/r-2 | |
parent | 92d235c21ab6bc9136fb379e03204acf5e63f06f (diff) | |
download | coreutils-93e3e3a5a8297e4f902035f481e9dd811714323d.tar.xz |
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.
Diffstat (limited to 'tests/rm/r-2')
-rwxr-xr-x | tests/rm/r-2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rm/r-2 b/tests/rm/r-2 index cd4a3abd0..2bba1f5c6 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 <<EOF | sort > $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 |