diff options
-rw-r--r-- | tests/tar.test | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/tar.test b/tests/tar.test index 168f4a38..dbe28d78 100644 --- a/tests/tar.test +++ b/tests/tar.test @@ -162,9 +162,8 @@ testing "manually specify bz2" 'LST -jf "$FILES"/tar/tar.tbz2' \ "" "" # -I -testing "-I gzip c" \ - "$TAR -Igzip file | file - | grep -q 'gzip compressed' && echo okay" \ - "okay\n" "" "" +testing "-I gzip c" "$TAR -Igzip file | file - | grep -o 'gzip compressed'" \ + "gzip compressed\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" \ "" "" |