aboutsummaryrefslogtreecommitdiff
path: root/testsuite/gzip/gzip-compression-levels
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gzip/gzip-compression-levels')
-rw-r--r--testsuite/gzip/gzip-compression-levels5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/gzip/gzip-compression-levels b/testsuite/gzip/gzip-compression-levels
new file mode 100644
index 000000000..6d9a13d08
--- /dev/null
+++ b/testsuite/gzip/gzip-compression-levels
@@ -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