gzip: add test that checks that -9 compresses better than -1
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
71cfbce655
commit
560cf8c7eb
5
testsuite/gzip/gzip-compression-levels
Normal file
5
testsuite/gzip/gzip-compression-levels
Normal file
@ -0,0 +1,5 @@
|
||||
# FEATURE: CONFIG_FEATURE_GZIP_LEVELS
|
||||
|
||||
level1=$(busybox gzip -c -1 $(which busybox) | wc -c)
|
||||
level9=$(busybox gzip -c -9 $(which busybox) | wc -c)
|
||||
test $level1 -gt $level9
|
Loading…
Reference in New Issue
Block a user