blob: d4f2581666657da357d5e8111b780aac8684b41e [file] [log] [blame]
Jiyong Parkd40f7bb2021-05-17 10:55:56 +09001The test data is generated as follows:
2
3$ mkdir dir
4$ base64 /dev/urandom | head -c 100000 > dir/file1
5$ base64 /dev/urandom | head -c 100000 > dir/file2
6$ soong_zip -o test.zip -D dir
7
8Running zipinfo shows that the files are compressed using deflate (defN)
9$ zipinfo test.zip
10Archive: test.zip
11Zip file size: 151594 bytes, number of entries: 2
12-rw------- 2.0 unx 100000 bl defN 08-Jan-01 00:00 dir/file1
13-rw------- 2.0 unx 100000 bl defN 08-Jan-01 00:00 dir/file2
142 files, 200000 bytes uncompressed, 151352 bytes compressed: 24.3%