-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# compare zip with directory with trailing slash | ||
features HAVE_FTS_H | ||
program zipcmp | ||
mkdir a | ||
mkdir a/dir-with-file | ||
mkdir a/empty-dir-in-dir | ||
arguments zipcmp_zip_dir.zip a/ | ||
file zipcmp_zip_dir.zip zipcmp_zip_dir.zip | ||
return 1 | ||
stdout | ||
--- zipcmp_zip_dir.zip | ||
+++ a | ||
- directory '00-empty-dir/' | ||
- file 'dir-with-file/a', size 1, crc e8b7be43 | ||
+ directory 'empty-dir-in-dir/' | ||
- directory 'empty-dir/' | ||
end-of-inline-data |