tests: extfs/zip: file names with leading space or dash.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-10-22 12:48:56 +03:00
parent 03b9af4e5d
commit fc26346cdb
5 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,8 @@ The input files were created thus:
cd ~/.gimp-2.8
echo hello > 'filename with spaces.txt'
echo hello > ' filename with leading space.txt'
echo hello > '-filename with leading dash.txt'
zip a.zip *
unzip -Z -l -T a.zip > uzip.with-zipinfo.input
unzip -qq -v a.zip > uzip.without-zipinfo--ymd.input

View File

@ -1,5 +1,7 @@
Archive: a.zip
Zip file size: 75222 bytes, number of entries: 40
Zip file size: 75234 bytes, number of entries: 42
-rw-r--r-- 3.0 unx 6 tx 6 stor 20161123.071336 -filename with leading dash.txt
-rw-r--r-- 3.0 unx 6 tx 6 stor 20161123.071336 filename with leading space.txt
drwxr-xr-x 3.0 unx 0 bx 0 stor 20151225.001514 brushes/
-rw------- 3.0 unx 739 tx 164 defN 20160918.164557 colorrc
-rw------- 3.0 unx 1863 tx 441 defN 20160918.164558 controllerrc

View File

@ -1,3 +1,5 @@
-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:36 ./-filename with leading dash.txt
-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:36 ./ filename with leading space.txt
drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:14 ./brushes/
-rw------- 1 <<uid>> <<gid>> 739 2016-09-18 16:45:57 ./colorrc
-rw------- 1 <<uid>> <<gid>> 1863 2016-09-18 16:45:58 ./controllerrc

View File

@ -1,3 +1,5 @@
6 Stored 6 0% 2016-11-23 07:13 363a3020 -filename with leading dash.txt
6 Stored 6 0% 2016-11-23 07:13 363a3020 filename with leading space.txt
0 Stored 0 0% 2015-12-25 00:15 00000000 brushes/
739 Defl:N 164 78% 2016-09-18 16:45 2d7277eb colorrc
1863 Defl:N 441 76% 2016-09-18 16:45 4a229bae controllerrc

View File

@ -1,3 +1,5 @@
-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:00 ./-filename with leading dash.txt
-rw-r--r-- 1 <<uid>> <<gid>> 6 2016-11-23 07:13:00 ./ filename with leading space.txt
drwxr-xr-x 1 <<uid>> <<gid>> 0 2015-12-25 00:15:00 ./brushes/
-rw-r--r-- 1 <<uid>> <<gid>> 739 2016-09-18 16:45:00 ./colorrc
-rw-r--r-- 1 <<uid>> <<gid>> 1863 2016-09-18 16:45:00 ./controllerrc