diff options
-rw-r--r-- | tests/tar.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tar.test b/tests/tar.test index 0a91bac8..168f4a38 100644 --- a/tests/tar.test +++ b/tests/tar.test @@ -162,8 +162,9 @@ testing "manually specify bz2" 'LST -jf "$FILES"/tar/tar.tbz2' \ "" "" # -I -testing "-I gzip c" "$TAR -Igzip file | file -" \ - "/dev/stdin: gzip compressed data, from Unix\n" "" "" +testing "-I gzip c" \ + "$TAR -Igzip file | file - | grep -q 'gzip compressed' && echo okay" \ + "okay\n" "" "" testing "-I gzip t" 'LST -Igzip -f "$FILES"/tar/tar.tgz' \ "drwxr-x--- enh/eng 0 2017-05-13 01:05 dir/\n-rw-r----- enh/eng 12 2017-05-13 01:05 dir/file\n" \ "" "" |