]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5504-fetch-receive-strict.sh
fsck tests: add a test for no skipList input
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 3 Sep 2018 14:49:20 +0000 (14:49 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2018 22:17:46 +0000 (15:17 -0700)
commit536a9ce80d32cf87664072ceebb08647c351a13a
treedb99e339a7e299d99fc5d7d781166b00d38f2f3b
parent134b7327d05c76d26e501e00d20b5ade9836ac4d
fsck tests: add a test for no skipList input

The recent 65a836fa6b ("fsck: add stress tests for fsck.skipList",
2018-07-27) added various stress tests for odd invocations of
fsck.skipList, but didn't tests for some very simple ones, such as
asserting that providing to skipList with a bad commit causes fsck to
exit with a non-zero exit code. Add such a test.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5504-fetch-receive-strict.sh