Skip to content

ZIP test fixes

René Scharfe git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t0024, t5000: clear variable UNZIP, use GIT_UNZIP insteadt/t0024-crlf-archive.sh t/t5000-tar-tree.sh t/test-lib.sh+10 -82 replies
2/4t0024, t5000: use test_lazy_prereq for UNZIPt/t0024-crlf-archive.sh t/t5000-tar-tree.sh+10 -144 replies
3/4t5000, t5002: move ZIP tests into their own scriptt/t5000-tar-tree.sh t/t5002-archive-zip.sh+119 -690 replies
4/4t5002: check if unzip supports symlinkst/t5002-archive-zip.sh t/t5002/infozip-symlinks.zip+19 -73 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJonathan Nieder
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ZIP test fixes

Fix a bug in two scripts that call unzip, use the opportunity for a small cleanup, move all ZIP related tests out of t5000 and finally skip testing symlinks if unzip doesn't support them.

The first one allows running t5000 with the unzip from pkgsrc manually on NetBSD, which succeeds. The last one -- together with the archive-zip streaming patch I sent earlier today -- makes the ZIP tests succeed on that platform out of the box.

René

t0024, t5000: clear variable UNZIP, use GIT_UNZIP instead t0024, t5000: use test_lazy_prereq for UNZIP t5000, t5002: move ZIP tests into their own script
t5002: check if unzip supports symlinks

 t/t0024-crlf-archive.sh      |  16 +++---
 t/t5000-tar-tree.sh          |  71 -----------------------
 t/t5002-archive-zip.sh       | 131 +++++++++++++++++++++++++++++++++++++++++++
 t/t5002/infozip-symlinks.zip | Bin 0 -> 328 bytes
 t/test-lib.sh                |   2 +
 5 files changed, 140 insertions(+), 80 deletions(-)
 create mode 100755 t/t5002-archive-zip.sh
 create mode 100644 t/t5002/infozip-symlinks.zip
Signature · 1 line
1.7.12