]> arthur.barton.de Git - bup.git/commitdiff
git: add a test for not keeping midx files open
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 18 Jan 2020 21:36:36 +0000 (22:36 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 19 Apr 2020 20:52:29 +0000 (15:52 -0500)
This test creates a few dummy idx files, generates an midx,
queries a PackIdxList for a non-existent object, unlinks the
midx and checks that we still have it open, but that we close
it at PackIdxList::refresh now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>

No differences found