Skip to content

Commit d519e45

Browse files
committed
Merge branch 'jc/maint-t1450-fsck-order-fix'
The fsck test assumed too much on what kind of error it will detect. The only important thing is the inconsistency is detected as an error. * jc/maint-t1450-fsck-order-fix: t1450: the order the objects are checked is undefined
2 parents 683a820 + 9dad83b commit d519e45

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

t/t1450-fsck.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,7 @@ test_expect_success 'tag pointing to something else than its type' '
177177
test_when_finished "remove_object $tag" &&
178178
echo $tag >.git/refs/tags/wrong &&
179179
test_when_finished "git update-ref -d refs/tags/wrong" &&
180-
test_must_fail git fsck --tags 2>out &&
181-
cat out &&
182-
grep "error in tag.*broken links" out
180+
test_must_fail git fsck --tags
183181
'
184182

185183
test_expect_success 'cleaned up' '

0 commit comments

Comments
 (0)