From c6c7fac0ad99833d56119595d9b3af0191c3407b Mon Sep 17 00:00:00 2001 From: Joeky Date: Mon, 30 Mar 2020 08:42:03 +0800 Subject: file: add 7z test file --- tests/file.test | 2 ++ tests/files/tar/tar.7z | Bin 0 -> 112 bytes 2 files changed, 2 insertions(+) create mode 100644 tests/files/tar/tar.7z diff --git a/tests/file.test b/tests/file.test index 66c5b7ed..c5eff3eb 100755 --- a/tests/file.test +++ b/tests/file.test @@ -31,6 +31,8 @@ testing "gzip data" "file $FILES/tar/tar.tgz | sed 's|$FILES/||'" \ "tar/tar.tgz: gzip compressed data\n" "" "" testing "bzip2 data" "file $FILES/tar/tar.tbz2 | sed 's|$FILES/||'" \ "tar/tar.tbz2: bzip2 compressed data, block size = 900k\n" "" "" +testing "7z file" "file $FILES/tar/tar.7z | sed 's|$FILES/||'" \ + "tar/tar.7z: 7-zip archive data, version 0.4\n" "" "" testing "zip file" "file $FILES/zip/example.zip | sed 's|$FILES/||'" \ "zip/example.zip: Zip archive data, requires at least v1.0 to extract\n" "" "" diff --git a/tests/files/tar/tar.7z b/tests/files/tar/tar.7z new file mode 100644 index 00000000..f438f515 Binary files /dev/null and b/tests/files/tar/tar.7z differ -- cgit v1.2.3