summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-30 18:44:43 +0000
committerJim Meyering <jim@meyering.net>2000-07-30 18:44:43 +0000
commitc8a15b9edb6849b5a76ff201cb3b9da0b1369d65 (patch)
tree5599a9a960d64bd94d70c8c9e179d302cc268765 /tests
parent0e1dfa9b8b134abc7ec5ee92cc21bc44f5422302 (diff)
downloadcoreutils-c8a15b9edb6849b5a76ff201cb3b9da0b1369d65.tar.xz
Add quote marks to match new behavior.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/mv-special-154
-rwxr-xr-xtests/rm/r-110
-rwxr-xr-xtests/rm/r-212
3 files changed, 38 insertions, 38 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index ca1450425..39df45e95 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -47,33 +47,33 @@ test -d $other_partition_tmpdir/$dir/a/b/c || fail=1
sed "s,$other_partition_tmpdir,XXX," out > out2
cat > exp <<EOF
-$null -> XXX/$null
-removing $null
-$dir -> XXX/$dir
-$dir/a -> XXX/$dir/a
-$dir/a/b -> XXX/$dir/a/b
-$dir/a/b/c -> XXX/$dir/a/b/c
-$dir/a/b/c/file1 -> XXX/$dir/a/b/c/file1
-$dir/d -> XXX/$dir/d
-$dir/d/e -> XXX/$dir/d/e
-$dir/d/e/f -> XXX/$dir/d/e/f
-$dir/d/e/f/file2 -> XXX/$dir/d/e/f/file2
-removing all entries of directory $dir
-removing all entries of directory $dir/a
-removing all entries of directory $dir/a/b
-removing all entries of directory $dir/a/b/c
-removing $dir/a/b/c/file1
-removing the directory itself: $dir/a/b/c
-removing the directory itself: $dir/a/b
-removing the directory itself: $dir/a
-removing all entries of directory $dir/d
-removing all entries of directory $dir/d/e
-removing all entries of directory $dir/d/e/f
-removing $dir/d/e/f/file2
-removing the directory itself: $dir/d/e/f
-removing the directory itself: $dir/d/e
-removing the directory itself: $dir/d
-removing the directory itself: $dir
+\`$null' -> \`XXX/$null'
+removing \`$null'
+\`$dir' -> \`XXX/$dir'
+\`$dir/a' -> \`XXX/$dir/a'
+\`$dir/a/b' -> \`XXX/$dir/a/b'
+\`$dir/a/b/c' -> \`XXX/$dir/a/b/c'
+\`$dir/a/b/c/file1' -> \`XXX/$dir/a/b/c/file1'
+\`$dir/d' -> \`XXX/$dir/d'
+\`$dir/d/e' -> \`XXX/$dir/d/e'
+\`$dir/d/e/f' -> \`XXX/$dir/d/e/f'
+\`$dir/d/e/f/file2' -> \`XXX/$dir/d/e/f/file2'
+removing all entries of directory \`$dir'
+removing all entries of directory \`$dir/a'
+removing all entries of directory \`$dir/a/b'
+removing all entries of directory \`$dir/a/b/c'
+removing \`$dir/a/b/c/file1'
+removing the directory itself: \`$dir/a/b/c'
+removing the directory itself: \`$dir/a/b'
+removing the directory itself: \`$dir/a'
+removing all entries of directory \`$dir/d'
+removing all entries of directory \`$dir/d/e'
+removing all entries of directory \`$dir/d/e/f'
+removing \`$dir/d/e/f/file2'
+removing the directory itself: \`$dir/d/e/f'
+removing the directory itself: \`$dir/d/e'
+removing the directory itself: \`$dir/d'
+removing the directory itself: \`$dir'
EOF
cmp out2 exp || fail=1
diff --git a/tests/rm/r-1 b/tests/rm/r-1
index 184ad5fe3..358c8781e 100755
--- a/tests/rm/r-1
+++ b/tests/rm/r-1
@@ -23,11 +23,11 @@ mkdir $tmp/a $tmp/a/a || framework_failure=1
> $tmp/b || framework_failure=1
cat <<EOF > $tmp/$test.E || framework_failure=1
-removing all entries of directory $tmp/a
-removing all entries of directory $tmp/a/a
-removing the directory itself: $tmp/a/a
-removing the directory itself: $tmp/a
-removing $tmp/b
+removing all entries of directory \`$tmp/a'
+removing all entries of directory \`$tmp/a/a'
+removing the directory itself: \`$tmp/a/a'
+removing the directory itself: \`$tmp/a'
+removing \`$tmp/b'
EOF
if test $framework_failure = 1; then
diff --git a/tests/rm/r-2 b/tests/rm/r-2
index 2aed43b23..a85c61f30 100755
--- a/tests/rm/r-2
+++ b/tests/rm/r-2
@@ -25,12 +25,12 @@ export LC_ALL
# FIXME: if this fails, it's a framework failure
cat <<EOF | sort > t/E || framework_failure=1
-removing all entries of directory t/a
-removing all entries of directory t/a/b
-removing t/a/b/g
-removing the directory itself: t/a/b
-removing t/a/f
-removing the directory itself: t/a
+removing all entries of directory \`t/a'
+removing all entries of directory \`t/a/b'
+removing \`t/a/b/g'
+removing the directory itself: \`t/a/b'
+removing \`t/a/f'
+removing the directory itself: \`t/a'
EOF
if test $framework_failure = 1; then