t9300: check ref existence using test-helper rather than a file system check
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
0221eb8678
commit
62038c81f3
@ -392,7 +392,7 @@ test_expect_success 'B: accept branch name "TEMP_TAG"' '
|
||||
git gc
|
||||
git prune" &&
|
||||
git fast-import <input &&
|
||||
test -f .git/TEMP_TAG &&
|
||||
test $(test-tool ref-store main resolve-ref TEMP_TAG 0 | cut -f1 -d " " ) != "$ZERO_OID" &&
|
||||
test $(git rev-parse main) = $(git rev-parse TEMP_TAG^)
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user