summaryrefslogtreecommitdiff
path: root/tests/mv/part-symlink
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-09-09 19:45:25 +0200
committerJim Meyering <meyering@redhat.com>2008-09-10 13:20:27 +0200
commit9dcebc51be915fb6d0ab2eca36168f3ab12a45c7 (patch)
tree20efa334be05315fc861dc3cca9106d53a03bc45 /tests/mv/part-symlink
parent1084bf78eafe4de0d8f0752a638be97e26157ea1 (diff)
downloadcoreutils-9dcebc51be915fb6d0ab2eca36168f3ab12a45c7.tar.xz
fix minor shell issues in test suite
* tests/misc/help-version: Fix bad quoting. * tests/cp/same-file: Fix unportable shell quoting. * tests/mv/part-symlink: Likewise.
Diffstat (limited to 'tests/mv/part-symlink')
-rwxr-xr-xtests/mv/part-symlink8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink
index 2aed4d854..2318f16da 100755
--- a/tests/mv/part-symlink
+++ b/tests/mv/part-symlink
@@ -99,18 +99,18 @@ for copy in cp mv; do
}
# Strip off all but the file names.
# Remove any site-dependent part of each file name.
- ls="`ls -gG --ignore=.err . \
+ ls=`ls -gG --ignore=.err . \
| sed \
-e '/^total /d' \
-e s,$other_partition_tmpdir/,, \
-e "s,$pwd_tmp/,," \
- -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`"
- ls2="`cd $other_partition_tmpdir && ls -gG --ignore=.err . \
+ -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`
+ ls2=`cd $other_partition_tmpdir && ls -gG --ignore=.err . \
| sed \
-e '/^total /d' \
-e s,$other_partition_tmpdir/,, \
-e "s,$pwd_tmp/,," \
- -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`"
+ -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`
echo "($ls) ($ls2)"
# If the command failed, then it must not have changed the files.