Jiyong Park | d40f7bb | 2021-05-17 10:55:56 +0900 | [diff] [blame] | 1 | The 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 | |
| 8 | Running zipinfo shows that the files are compressed using deflate (defN) |
| 9 | $ zipinfo test.zip |
| 10 | Archive: test.zip |
| 11 | Zip 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 |
| 14 | 2 files, 200000 bytes uncompressed, 151352 bytes compressed: 24.3% |