Skip to content

Commit dfc9486

Browse files
john-caigitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f0de108 commit dfc9486

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

t/t0600-reffiles-backend.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,4 +359,9 @@ test_expect_success 'empty reflog' '
359359
test_must_be_empty err
360360
'
361361

362+
test_expect_success SYMLINKS 'ref resolution not confused by broken symlinks' '
363+
ln -s does-not-exist .git/refs/heads/broken &&
364+
test_must_fail git rev-parse --verify broken
365+
'
366+
362367
test_done

t/t1503-rev-parse-verify.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,6 @@ test_expect_success 'main@{n} for various n' '
144144
test_must_fail git rev-parse --verify main@{$Np1}
145145
'
146146

147-
test_expect_success SYMLINKS,REFFILES 'ref resolution not confused by broken symlinks' '
148-
ln -s does-not-exist .git/refs/heads/broken &&
149-
test_must_fail git rev-parse --verify broken
150-
'
151-
152147
test_expect_success 'options can appear after --verify' '
153148
git rev-parse --verify HEAD >expect &&
154149
git rev-parse --verify -q HEAD >actual &&

0 commit comments

Comments
 (0)