X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Finarchivecopy;h=3f848815d551d4fea97947e371356def45fb6663;hb=d436b26183c219a8633f84aa39cf991fd8b6de4d;hp=b34ba333fbae71d8282e5cb5c697a65f08c7706a;hpb=1b72149044ab77e11215ab4780daa981c5c03225;p=dgit.git diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy index b34ba333..3f848815 100755 --- a/tests/tests/inarchivecopy +++ b/tests/tests/inarchivecopy @@ -37,7 +37,7 @@ copy-check () { git merge --ff-only dgit/dgit/$tosuite copy-check-good - local fetched=$(t-sametree-parent HEAD) + local fetched; fetched=$(t-sametree-parent HEAD) cd .. rm -rf example.cloned @@ -46,7 +46,7 @@ copy-check () { cd example.cloned t-refs-same-start copy-check-good - local cloned=$(t-sametree-parent HEAD) + local cloned; cloned=$(t-sametree-parent HEAD) cd .. rm -rf example.initd @@ -57,7 +57,7 @@ copy-check () { t-dgit -p $p fetch $tosuite git reset --hard refs/remotes/dgit/dgit/$tosuite copy-check-good - local initd=$(t-sametree-parent HEAD) + local initd; initd=$(t-sametree-parent HEAD) cd .. t-refs-same-start @@ -76,4 +76,4 @@ cd .. copy-check 2.1 testing -echo ok. +t-ok