diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-29 01:49:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-29 01:49:55 +0300 |
commit | 28ba5a7b27b8a16e44b760196fb09a016c6713d6 (patch) | |
tree | 50d749cb923379d29c1dff142bc921203e008ea3 /t/t5616-partial-clone.sh | |
parent | e870325ee8575d5c3d7afe0ba2c9be072c692b65 (diff) | |
parent | 84370e36bb6b26182f70567b2d94d77960d85b3f (diff) |
Merge branch 'dd/test-with-busybox'
Various tests have been updated to work around issues found with
shell utilities that come with busybox etc.
* dd/test-with-busybox:
t5703: feed raw data into test-tool unpack-sideband
t4124: tweak test so that non-compliant diff(1) can also be used
t7063: drop non-POSIX argument "-ls" from find(1)
t5616: use rev-parse instead to get HEAD's object_id
t5003: skip conversion test if unzip -a is unavailable
t5003: drop the subshell in test_lazy_prereq
test-lib-functions: test_cmp: eval $GIT_TEST_CMP
t4061: use POSIX compliant regex(7)
Diffstat (limited to 't/t5616-partial-clone.sh')
-rwxr-xr-x | t/t5616-partial-clone.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5616-partial-clone.sh b/t/t5616-partial-clone.sh index 8f0d81a27e..88002b24af 100755 --- a/t/t5616-partial-clone.sh +++ b/t/t5616-partial-clone.sh @@ -49,7 +49,7 @@ test_expect_success 'do partial clone 1' ' test_expect_success 'verify that .promisor file contains refs fetched' ' ls pc1/.git/objects/pack/pack-*.promisor >promisorlist && test_line_count = 1 promisorlist && - git -C srv.bare rev-list HEAD >headhash && + git -C srv.bare rev-parse --verify HEAD >headhash && grep "$(cat headhash) HEAD" $(cat promisorlist) && grep "$(cat headhash) refs/heads/master" $(cat promisorlist) ' |