From de9ac384d1be83b402ce9fdea6dd572f8d744dd6 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 20 Aug 2026 14:09:25 -0500 Subject: [PATCH] Add a txz test. --- tests/files/tar/tar.txz | Bin 0 -> 216 bytes tests/tar.test | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/files/tar/tar.txz diff --git a/tests/files/tar/tar.txz b/tests/files/tar/tar.txz new file mode 100644 index 0000000000000000000000000000000000000000..f88f0ed90e4235195c85d711c9c7d0ba5f45e810 GIT binary patch literal 216 zcmV;}04M+bH+ooF000E$*0e?f03iVu0001VFXf})C;tGIT>vv0N!GY4;b(M|W(@_F zkDAgjYueU1xvbqe?CC~@Q2zp9>U62OEq6^Wb5EV8WC;Cn!=j}P*=$S literal 0 HcmV?d00001 diff --git a/tests/tar.test b/tests/tar.test index 9c46979b..1feb6fc8 100755 --- a/tests/tar.test +++ b/tests/tar.test @@ -168,7 +168,8 @@ testing "--absolute-names" \ testing "autodetect gzip" 'LST -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" \ "" "" - +testing "autodetect xz" 'LST -f "$FILES"/tar/tar.txz' \ + "-rw-r--r-- landley/landley 43 2026-08-20 19:06 file.txt\n" "" "" testing "manually specify bz2" 'LST -jf "$FILES"/tar/tar.tbz2' \ "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" \ "" "" -- 2.39.5