All of lore.kernel.org
 help / color / mirror / Atom feed
* t5313-pack-bounds-checks.sh flaky?
@ 2017-06-05 10:33 Lars Schneider
  2017-06-05 18:56 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Schneider @ 2017-06-05 10:33 UTC (permalink / raw)
  To: Jeff King; +Cc: Git Mailing List

Hi Peff,

t5313.7 failed recently on master [1]. Are you aware of any flaky parts
in this test?

Here is the output:

expecting success: 
	# We need two objects here, so we can plausibly require
	# an extended table (if the first object were larger than 2^31).
	do_pack "$object $(git rev-parse HEAD)" --index-version=2 &&

	# We have to make extra room for the table, so we cannot
	# just munge in place as usual.
	{
		dd if=$idx bs=1 count=$(($(ofs_table 2) + 4)) &&
		printf "\200\0\0\0" &&
		printf "\377\0\0\0\0\0\0\0" &&
		dd if=$idx bs=1 skip=$(extended_table 2)
	} >tmp &&
	mv tmp "$idx" &&
	clear_base &&
	test_must_fail git cat-file blob $object &&
	test_must_fail git index-pack --verify $pack

1084+0 records in
1084+0 records out
1084 bytes (1.1 kB) copied, 0.00119315 s, 909 kB/s
40+0 records in
40+0 records out
40 bytes (40 B) copied, 6.9825e-05 s, 573 kB/s
74
test_must_fail: command succeeded: git cat-file blob fff0a2476aa5c8e60a3ef21cfc66e0cc670920be


Cheers,
Lars


[1] https://travis-ci.org/git/git/jobs/239451919

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

end of thread, other threads:[~2017-06-06 20:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 10:33 t5313-pack-bounds-checks.sh flaky? Lars Schneider
2017-06-05 18:56 ` Jeff King
2017-06-05 19:15   ` [PATCH] t5313: make extended-table test more deterministic Jeff King
2017-06-06 20:21     ` Lars Schneider

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.