X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Finarchivecopy;h=411f56091a25ed9623555c6e46aee873ff9f781b;hp=b6cbb129a93a5ae5603aa1718013a2ca756143f2;hb=7cab936d3709f87664f2025582dfd99d910552e6;hpb=9eb48d0627f84bb57e9a81bf93bde98e2fa3fbf5 diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy index b6cbb129..411f5609 100755 --- a/tests/tests/inarchivecopy +++ b/tests/tests/inarchivecopy @@ -49,9 +49,21 @@ copy-check () { local cloned=$(t-sametree-parent HEAD) cd .. + rm -rf example.initd + mkdir example.initd + cd example.initd + git init + t-refs-same-start + t-dgit -p $p fetch $tosuite + git reset --hard refs/remotes/dgit/dgit/$tosuite + copy-check-good + local initd=$(t-sametree-parent HEAD) + cd .. + t-refs-same-start t-ref-same-val fetched $fetched t-ref-same-val cloned $cloned + t-ref-same-val initd $initd } copy-check 2.0