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
This commit is contained in:
commit
d519e4594c
@ -177,9 +177,7 @@ test_expect_success 'tag pointing to something else than its type' '
|
||||
test_when_finished "remove_object $tag" &&
|
||||
echo $tag >.git/refs/tags/wrong &&
|
||||
test_when_finished "git update-ref -d refs/tags/wrong" &&
|
||||
test_must_fail git fsck --tags 2>out &&
|
||||
cat out &&
|
||||
grep "error in tag.*broken links" out
|
||||
test_must_fail git fsck --tags
|
||||
'
|
||||
|
||||
test_expect_success 'cleaned up' '
|
||||
|
Loading…
Reference in New Issue
Block a user