diff options
-rw-r--r-- | tests/gunzip.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/gunzip.test b/tests/gunzip.test index 9f9ef5eb..bf9b9834 100644 --- a/tests/gunzip.test +++ b/tests/gunzip.test @@ -21,6 +21,13 @@ testing "no files (stdin to stdout)" "cat f.gz | gunzip > f && test -f f.gz && cat f" "hello world\n" "" "" rm -f f f.gz +# test FEXTRA support +echo "1f8b08040000000000ff04000000ffff4bcbcfe70200a865327e04000000" | xxd -r -p > f1.gz +testing "FEXTRA flag skipped properly" "gunzip f1.gz && + ! test -f f1.gz && test -f f1 && + cat f1" "foo\n" "" "" +rm -f f1 f1.gz + # -c Output to stdout echo -n "foo " | gzip > f1.gz echo "bar" | gzip > f2.gz |