git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Intermittent Failures in t1450-fsck
@ 2011-04-13 17:11 Brian Gernhardt
  2011-05-05  6:46 ` Intermittent Failures in t1450-fsck (Bisected) Brian Gernhardt
  0 siblings, 1 reply; 10+ messages in thread
From: Brian Gernhardt @ 2011-04-13 17:11 UTC (permalink / raw)
  To: git@vger.kernel.org List

t1450-fsck fails in test 10 "tag pointing to something else than its type", but only if I run it as part of the full test suite (with either `make test` or `make prove`).  If I run the test separately, it passes.

The output from running with GIT_TEST_OPTS="-v" is:

expecting success: 
	sha=$(echo blob | git hash-object -w --stdin) &&
	test_when_finished "remove_object $sha" &&
	cat >wrong-tag <<-EOF &&
	object $sha
	type commit
	tag wrong
	tagger T A Gger <tagger@example.com> 1234567890 -0000

	This is an invalid tag.
	EOF

	tag=$(git hash-object -t tag -w --stdin <wrong-tag) &&
	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

tagged commit 63499e4ea8e096b831515ceb1d5a7593e4d87ae5 (wrong) in 66f6581d549f70e05ca586bc2df5c15a95662c36
missing commit 63499e4ea8e096b831515ceb1d5a7593e4d87ae5
error: Object 63499e4ea8e096b831515ceb1d5a7593e4d87ae5 is a commit, not a blob
error: 63499e4ea8e096b831515ceb1d5a7593e4d87ae5: object corrupt or missing
not ok - 10 tag pointing to something else than its type

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-05-11 15:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 17:11 Intermittent Failures in t1450-fsck Brian Gernhardt
2011-05-05  6:46 ` Intermittent Failures in t1450-fsck (Bisected) Brian Gernhardt
2011-05-05  9:32   ` Jeff King
2011-05-05 20:04     ` Brian Gernhardt
2011-05-05 21:03       ` Jeff King
2011-05-05 21:58         ` Brian Gernhardt
2011-05-07 20:25           ` Brian Gernhardt
2011-05-11 11:43             ` Jeff King
2011-05-05 21:07       ` Brian Gernhardt
2011-05-05 21:17         ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).