summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/rm/r-210
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