diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gzip.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gzip.test b/tests/gzip.test index 24bd01ed..b458307e 100644 --- a/tests/gzip.test +++ b/tests/gzip.test @@ -76,3 +76,6 @@ testing "permissions/times preservation" \ "gzip -k f1 && TZ=UTC stat -c '%a %Y' f1 && stat -c '%a %X %Y' f1.gz" \ "411 544413660\n411 252558240 544413660\n" "" "" rm -f f1 f1.gz + +testing "reject non-gzip" "gzip -dc $FILES/blkid/msdos.bz2 2>/dev/null || + echo rejected" "rejected\n" "" "" |