From 9307a53c7bc30f9d17b6ab97e90d8a1b5fc313b2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 7 Aug 2024 06:53:05 +0800 Subject: vim-patch:9.1.0661: the zip plugin is not tested. (#29993) Problem: the zip plugin is not tested. Solution: include tests (Damien) closes: vim/vim#15411 https://github.com/vim/vim/commit/d7af21e746f3992c650caf6b76465880b96302b4 Co-authored-by: Damien <141588647+xrandomname@users.noreply.github.com> --- test/old/testdir/samples/test.zip | Bin 0 -> 464 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/old/testdir/samples/test.zip (limited to 'test/old/testdir/samples') diff --git a/test/old/testdir/samples/test.zip b/test/old/testdir/samples/test.zip new file mode 100644 index 0000000000..6d34ac6992 Binary files /dev/null and b/test/old/testdir/samples/test.zip differ -- cgit From 6f7bb02e7f7b8ff8fe4d67a433cd3a2250df7a11 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 21 Aug 2024 07:35:27 +0800 Subject: vim-patch:9.1.0686: zip-plugin has problems with special characters (#30108) Problem: zip-plugin has problems with special characters (user202729) Solution: escape '*?[\' on Unix and handle those chars a bit differently on MS-Windows, add a test, check before overwriting files runtime(zip): small fixes for zip plugin This does the following: - verify the unzip plugin is executable when loading the autoload plugin - handle extracting file names with '[*?\' in its name correctly by escaping those characters for the unzip command (and handle those characters a bit differently on MS-Windows, since the quoting is different) - verify, that the extract plugin is not overwriting a file (could cause a hang, because unzip asking for confirmation) - add a test zip file which contains those special file names fixes: vim/vim#15505 closes: vim/vim#15519 https://github.com/vim/vim/commit/7790ea0c680a9f951a86066e5940ec16b2333c9a Co-authored-by: Christian Brabandt --- test/old/testdir/samples/testa.zip | Bin 0 -> 1236 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/old/testdir/samples/testa.zip (limited to 'test/old/testdir/samples') diff --git a/test/old/testdir/samples/testa.zip b/test/old/testdir/samples/testa.zip new file mode 100644 index 0000000000..10b0346e76 Binary files /dev/null and b/test/old/testdir/samples/testa.zip differ -- cgit