summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2022-05-26 18:17:52 +0300
committerVille Skyttä <ville.skytta@iki.fi>2023-08-17 04:21:00 +0000
commit0ce0d07ecc2f29760dc63315843f183b1c288e35 (patch)
tree32dbe45bbbb9a1d70aae1802b565edc84bd47646
parent607b3ca18978abef90e331a1eb31b787d2b74773 (diff)
test: add DVI test case and its Tex source
-rw-r--r--tests/mime-detection/list3
-rw-r--r--tests/mime-detection/test2.dvibin0 -> 232 bytes
-rw-r--r--tests/mime-detection/test2.tex4
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 15bf164..697594d 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -283,6 +283,9 @@ test.tak audio/x-tak
text-iso8859-15.txt text/plain
text-utf8.txt text/plain
test.tex text/x-tex
+test2.tex text/x-tex
+# Generate from test2.tex with texi2dvi from Texinfo 6.5
+test2.dvi application/x-dvi
# Copied from http://www.computerperformance.co.uk/vista/vista_reg_examples.htm
registry.reg text/x-ms-regedit
# Copied from http://www.ss64.com/nt/regedit.html
diff --git a/tests/mime-detection/test2.dvi b/tests/mime-detection/test2.dvi
new file mode 100644
index 0000000..d018ae0
--- /dev/null
+++ b/tests/mime-detection/test2.dvi
Binary files differ
diff --git a/tests/mime-detection/test2.tex b/tests/mime-detection/test2.tex
new file mode 100644
index 0000000..c240ff9
--- /dev/null
+++ b/tests/mime-detection/test2.tex
@@ -0,0 +1,4 @@
+\documentclass[a4paper]{article}
+\begin{document}
+Hello world!
+\end{document}