summaryrefslogtreecommitdiff
path: root/tests/rm/r-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-24 08:43:46 +0000
committerJim Meyering <jim@meyering.net>1998-01-24 08:43:46 +0000
commit8a0550a816fdcb48e1785281d3d9195521c85b1f (patch)
treeaf3056e5e4247e990e1a9f8f5fb5f80322dbe830 /tests/rm/r-1
parent663d8b143c40624e89fe99bc539678136c672645 (diff)
downloadcoreutils-8a0550a816fdcb48e1785281d3d9195521c85b1f.tar.xz
Adjust expected output for changed format of `rm --verbose'.
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