diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-08-30 01:37:43 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-06 13:20:36 +0100 |
commit | d50903862956d7091cc0851c8d518dd970ffcce4 (patch) | |
tree | 867bf2f40935cd2dbdf1f421b0b68d8a7501c1a7 /tests | |
parent | fbc24ade1654c35ac59f8c6f4ebaaba0e65930ee (diff) |
Test suite: inarchivecopy: use t-sametree-parent
Otherwise different history between fetch and clone breaks the test.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/inarchivecopy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests/inarchivecopy b/tests/tests/inarchivecopy index ed0bcae..fbd197d 100755 --- a/tests/tests/inarchivecopy +++ b/tests/tests/inarchivecopy @@ -38,14 +38,21 @@ 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 |