summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-09 19:36:13 +0000
committerJim Meyering <jim@meyering.net>2000-02-09 19:36:13 +0000
commit31c3ae15451517e8d5493fae096469b8fef51821 (patch)
tree32165f8f048fa40a641f7781090c31b1cdcce7d4
parent55e5a84fed71ef823591bedde5b89db59cbc4baa (diff)
downloadcoreutils-31c3ae15451517e8d5493fae096469b8fef51821.tar.xz
(framework_failure): Use $null and $dir in place of literals in `here' script.
-rwxr-xr-xtests/mv/mv-special-156
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index f3a9e1739..9500a9000 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -41,34 +41,34 @@ test -d $other_partition_tmpdir/$dir/a/b/c || fail=1
sed "s,$other_partition_tmpdir,XXX," out > out2
-cat > exp <<\EOF
-.mv-null -> XXX/.mv-null
-removing .mv-null
-.mv-dir -> XXX/.mv-dir
-.mv-dir/a -> XXX/.mv-dir/a
-.mv-dir/a/b -> XXX/.mv-dir/a/b
-.mv-dir/a/b/c -> XXX/.mv-dir/a/b/c
-.mv-dir/a/b/c/file1 -> XXX/.mv-dir/a/b/c/file1
-.mv-dir/d -> XXX/.mv-dir/d
-.mv-dir/d/e -> XXX/.mv-dir/d/e
-.mv-dir/d/e/f -> XXX/.mv-dir/d/e/f
-.mv-dir/d/e/f/file2 -> XXX/.mv-dir/d/e/f/file2
-removing all entries of directory .mv-dir
-removing all entries of directory .mv-dir/a
-removing all entries of directory .mv-dir/a/b
-removing all entries of directory .mv-dir/a/b/c
-removing .mv-dir/a/b/c/file1
-removing the directory itself: .mv-dir/a/b/c
-removing the directory itself: .mv-dir/a/b
-removing the directory itself: .mv-dir/a
-removing all entries of directory .mv-dir/d
-removing all entries of directory .mv-dir/d/e
-removing all entries of directory .mv-dir/d/e/f
-removing .mv-dir/d/e/f/file2
-removing the directory itself: .mv-dir/d/e/f
-removing the directory itself: .mv-dir/d/e
-removing the directory itself: .mv-dir/d
-removing the directory itself: .mv-dir
+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
EOF
cmp out2 exp || fail=1