mirror of
https://github.com/git/git
synced 2024-11-05 01:58:18 +00:00
t1503: move reffiles specific tests to t0600
Move this test to t0600 with other reffiles specific tests since it checks for loose refs and is specific to the reffiles backend. Signed-off-by: John Cai <johncai86@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
f0de108417
commit
dfc9486cb7
2 changed files with 5 additions and 5 deletions
|
@ -359,4 +359,9 @@ test_expect_success 'empty reflog' '
|
|||
test_must_be_empty err
|
||||
'
|
||||
|
||||
test_expect_success SYMLINKS 'ref resolution not confused by broken symlinks' '
|
||||
ln -s does-not-exist .git/refs/heads/broken &&
|
||||
test_must_fail git rev-parse --verify broken
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
|
@ -144,11 +144,6 @@ test_expect_success 'main@{n} for various n' '
|
|||
test_must_fail git rev-parse --verify main@{$Np1}
|
||||
'
|
||||
|
||||
test_expect_success SYMLINKS,REFFILES 'ref resolution not confused by broken symlinks' '
|
||||
ln -s does-not-exist .git/refs/heads/broken &&
|
||||
test_must_fail git rev-parse --verify broken
|
||||
'
|
||||
|
||||
test_expect_success 'options can appear after --verify' '
|
||||
git rev-parse --verify HEAD >expect &&
|
||||
git rev-parse --verify -q HEAD >actual &&
|
||||
|
|
Loading…
Reference in a new issue