Skip to content

Commit

Permalink
Merge branch 'jc/maint-t1450-fsck-order-fix'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Junio C Hamano committed Oct 8, 2012
2 parents 683a820 + 9dad83b commit d519e45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions t/t1450-fsck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' '
Expand Down

0 comments on commit d519e45

Please sign in to comment.