X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Finarchivecopy;h=41c0321e3c0205820e72050be5125fa04f969735;hb=a76f225dd9f40fb964058702a88a30ddffb17b23;hp=ed0bcae20639ba21145909be68e64486573fba11;hpb=d106f47c2e2d774ca2f99eb53d4d9038e9a5aa62;p=dgit.git diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy index ed0bcae2..41c0321e 100755 --- a/tests/tests/inarchivecopy +++ b/tests/tests/inarchivecopy @@ -2,8 +2,6 @@ set -e . tests/lib -t-restrict x-dgit-unfinished - t-setup-import examplegit cd $p @@ -38,18 +36,25 @@ copy-check () { git merge --ff-only dgit/dgit/stable copy-check-good + local fetched=$(t-sametree-parent HEAD) cd .. rm -rf example.cloned t-dgit clone $p stable example.cloned cd example.cloned + t-refs-same-start copy-check-good + local cloned=$(t-sametree-parent HEAD) cd .. + + t-refs-same-start + t-ref-same-val fetched $fetched + t-ref-same-val cloned $cloned } copy-check 2.0 copy-check 2.1 -xxx rest of test +echo ok.