]> arthur.barton.de Git - bup.git/commit
test.sh: don't try non-quick fsck on damaged repositories.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 8 Feb 2010 18:49:17 +0000 (13:49 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 8 Feb 2010 18:49:17 +0000 (13:49 -0500)
commitbe527be2f78d91e741028d57ac30f41c99df9e14
tree9ffd06d91bc694148859471342b6c808622426a1
parent249fe0492751b663857b931531153040efee9359
test.sh: don't try non-quick fsck on damaged repositories.

It turns out that older versions of git (1.5.x or so) have a git-verify-pack
that goes into an endless loop when it hits certain kinds of corruption, and
our test would trigger it almost every time.  Using --quick avoids calling
git-verify-pack, so it won't exhibit the problem.

Unfortunately this means a slightly less thorough test of non-quick
bup-fsck, but it'll have to do.  Better than failing tests nonstop, anyway.

Reported by Eduardo Kienetz.
t/test.sh