summaryrefslogtreecommitdiff
path: root/tests/rm/r-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/r-1')
-rwxr-xr-xtests/rm/r-113
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/rm/r-1 b/tests/rm/r-1
index cc58feb5c..3162690cc 100755
--- a/tests/rm/r-1
+++ b/tests/rm/r-1
@@ -21,9 +21,11 @@ mkdir $tmp/a $tmp/a/a || test_failure=1
> $tmp/b || test_failure=1
cat <<EOF > $tmp/$test.E || test_failure=1
-$tmp/a
-$tmp/a/a
-$tmp/b
+removing any entries of directory $tmp/a
+removing any entries of directory $tmp/a/a
+removing the directory itself: $tmp/a/a
+removing the directory itself: $tmp/a
+removing non-directory $tmp/b
EOF
if test $test_failure = 1; then
@@ -31,6 +33,11 @@ if test $test_failure = 1; then
exit 1
fi
+LANGUAGE=C
+export LANGUAGE
+LANG=C
+export LANG
+
fail=0
$RM --verbose -r $tmp/a $tmp/b > $tmp/$test.O || fail=1