summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Brückl <ib@oddnet.de>2023-09-17 22:34:31 +0200
committerIngo Brückl <ib@oddnet.de>2023-09-18 19:47:04 +0000
commitfc1bf6aa347bdaeb9185178cf04a5a019bffc260 (patch)
tree5d51c80c586a5753686f3d5ceada5ba32f70d15a
parentc99df0f4d3df7f1327e8e3c6cb33c2321c5b7e1c (diff)
Add a bzip2 test case
-rw-r--r--tests/mime-detection/list4
-rw-r--r--tests/mime-detection/test.bz2bin0 -> 51 bytes
-rw-r--r--tests/mime-detection/test.tar.bz2bin0 -> 128 bytes
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index e52e6a0..ac1c70d 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -507,6 +507,10 @@ spinboxes-0.1.1-Linux.tar.xz application/x-xz-compressed-tar ox
test.bz application/x-bzip
# Created using GNU tar 1.34 and bzip Version 0.21
test.tar.bz application/x-bzip-compressed-tar ox
+# Created using bzip2 Version 1.0.8
+test.bz2 application/x-bzip2
+# Created using GNU tar 1.35 and bzip2 Version 1.0.8
+test.tar.bz2 application/x-bzip2-compressed-tar ox
# Created using bzip3 1.2.2
test.bz3 application/x-bzip3
# Created using GNU tar 1.34 and bzip3 1.2.2
diff --git a/tests/mime-detection/test.bz2 b/tests/mime-detection/test.bz2
new file mode 100644
index 0000000..6635cfa
--- /dev/null
+++ b/tests/mime-detection/test.bz2
Binary files differ
diff --git a/tests/mime-detection/test.tar.bz2 b/tests/mime-detection/test.tar.bz2
new file mode 100644
index 0000000..28099ec
--- /dev/null
+++ b/tests/mime-detection/test.tar.bz2
Binary files differ