diff options
Diffstat (limited to 'tests/mv/part-symlink')
-rwxr-xr-x | tests/mv/part-symlink | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink index 2e7cf1b8b..e57de3c96 100755 --- a/tests/mv/part-symlink +++ b/tests/mv/part-symlink @@ -96,18 +96,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 . \ - | sed \ + 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 . \ - | sed \ + -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. |