Re: [PATCH 3/2] t5004: resurrect original empty tar archive test

2013-05-11 Thread Jonathan Nieder
Hi, René Scharfe wrote: [Subject: t5004: resurrect original empty tar archive test] [...] The different approaches test different things: The existing one is for empty trees, for which we know the exact expected output and thus we can simply check it without extracting; the new one is for

[PATCH 3/2] t5004: resurrect original empty tar archive test

2013-05-09 Thread René Scharfe
Add a test to verify the emptiness of an archive by extracting its contents. Don't run this test if the version of tar doesn't support archives containing only a comment header, though. The existing check 'tar archive of empty tree is empty' used to work like that (minus the tar capability