]> git.ipfire.org Git - thirdparty/git.git/commit
t5004: avoid using tar for empty packages
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Sun, 2 Dec 2018 02:40:03 +0000 (18:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Dec 2018 01:29:43 +0000 (10:29 +0900)
commitb6bdc2a0f5342e73de9f6e92884ddbb28ce04090
tree947a831eb56b941216e351b1bb0761cbfadfd5fa
parent98cdfbb84ad2ed6a2eb43dafa357a70a4b0a0fad
t5004: avoid using tar for empty packages

ea2d20d4c2 ("t5004: avoid using tar for checking emptiness of archive",
2013-05-09), introduced a fake empty tar archive to allow for portable
tests of emptiness without having to invoke tar

4318094047 ("archive: don't add empty directories to archives", 2017-09-13)
changed the expected result for its tests from one containing an empty
directory to a plain empty archive but the portable test wasn't updated
resulting on them failing again in (at least) NetBSD and OpenBSD

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5004-archive-corner-cases.sh