mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-12 06:57:33 +02:00
Add quote marks to match new behavior.
This commit is contained in:
@@ -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
|
||||
|
||||
10
tests/rm/r-1
10
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
|
||||
|
||||
12
tests/rm/r-2
12
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
|
||||
|
||||
Reference in New Issue
Block a user