summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk/seetexk.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/seetexk/seetexk.test')
-rwxr-xr-xBuild/source/texk/seetexk/seetexk.test44
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/texk/seetexk/seetexk.test b/Build/source/texk/seetexk/seetexk.test
new file mode 100755
index 00000000000..88e580664a1
--- /dev/null
+++ b/Build/source/texk/seetexk/seetexk.test
@@ -0,0 +1,44 @@
+#! /bin/sh
+
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+rm -rf play*
+./dviselect 15:25 $srcdir/tests/play.dvi playsel.dvi \
+ 2>playsel.2 \
+ && diff playsel.2 $srcdir/tests/playsel.2 \
+ || exit 1
+
+rm -rf play*
+./dviselect =5:15 $srcdir/tests/play.dvi playsel.dvi \
+ 2>playsel.2 \
+ && diff playsel.2 $srcdir/tests/playsel.2 \
+ || exit 1
+
+echo dviselect tests OK
+
+./dvibook -s4 playsel.dvi playbook.dvi \
+ 2>playbook.2 \
+ && diff playbook.2 $srcdir/tests/playbook.2 \
+ || exit 1
+
+echo dvibook tests OK
+
+./dviselect =5:7 $srcdir/tests/play.dvi playsel1.dvi \
+ 2>playconc.2 \
+ && ./dviselect 23:25 $srcdir/tests/play.dvi playsel2.dvi \
+ 2>>playconc.2 \
+ && ./dviconcat -o playconc.dvi playsel2.dvi playsel1.dvi \
+ 2>>playconc.2 \
+ && diff playconc.2 $srcdir/tests/playconc.2 \
+ || exit 1
+
+echo dviconcat tests OK
+
+./dvitodvi '4:500@0+1(16.5cm,0)+2(0,28cm)+3(16.5cm,28cm)' playsel.dvi playdvi.dvi \
+ 2>playdvi.2 \
+ && diff playdvi.2 $srcdir/tests/playdvi.2 \
+ || exit 1
+
+echo dvitodvi tests OK
+