From 9dcebc51be915fb6d0ab2eca36168f3ab12a45c7 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 9 Sep 2008 19:45:25 +0200 Subject: 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. --- tests/cp/same-file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/cp/same-file') diff --git a/tests/cp/same-file b/tests/cp/same-file index 32bdc2a6e..58b8fbae2 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -110,10 +110,10 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do ' _err fi # Strip off all but the file names. - ls="`ls -gG --ignore=_err . \ + ls=`ls -gG --ignore=_err . \ | sed \ -e '/^total /d' \ - -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'`" + -e 's/^[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *[^ ]* *//'` echo "($ls)" # Make sure the original is unchanged and that # the destination is a copy. -- cgit v1.2.3-54-g00ecf