Fix ReceivePackRefFilterTest on Windows
commit23583e59bbd707d4f10e15af7c1c4f2874e13685
authorShawn O. Pearce <spearce@spearce.org>
Tue, 27 Apr 2010 18:00:49 +0000 (27 11:00 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 28 Apr 2010 00:21:19 +0000 (27 17:21 -0700)
treec3cc2e418cbe596577158cde69385cd1fbc19acb
parentf1946b0669b7f992133c350f650ae4c9a701f9b4
Fix ReceivePackRefFilterTest on Windows

The pack files were left open after the test ended, which meant
we could not delete them automatically when the test was over.

Make sure we close the repositories (and thus their underlying packs)
before the tear down finishes.

Bug: 310367
Change-Id: I4d2703efa4b2e0c347ea4f4475777899cf71073e
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/ReceivePackRefFilterTest.java