summaryrefslogtreecommitdiff
path: root/Build/source/texk/seetexk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-25 07:24:51 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-25 07:24:51 +0000
commit43454e4514da463416d54403b38507c66b2d888c (patch)
tree3a730db97bf378c55dcec8941000f5570777f937 /Build/source/texk/seetexk
parentcbb6b46f90e2d4851501bfcaabc33a74dffa6cf3 (diff)
seetexk: Add tests of dvibook and dvitodvi reading stdin
git-svn-id: svn://tug.org/texlive/trunk@27152 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk')
-rw-r--r--Build/source/texk/seetexk/ChangeLog2
-rwxr-xr-xBuild/source/texk/seetexk/seetexk.test18
2 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/texk/seetexk/ChangeLog b/Build/source/texk/seetexk/ChangeLog
index 7e44da05217..d73886d0175 100644
--- a/Build/source/texk/seetexk/ChangeLog
+++ b/Build/source/texk/seetexk/ChangeLog
@@ -2,6 +2,8 @@
* seek.c (CopyFile): No special file mode handling for Cygwin.
+ * seetexk.test: Add tests of dvibook and dvitodvi reading stdin.
+
2012-03-20 Karl Berry <karl@tug.org>
* *.c, *.h, *.man: update license of UMD files to use the X11
diff --git a/Build/source/texk/seetexk/seetexk.test b/Build/source/texk/seetexk/seetexk.test
index 88e580664a1..e9b02b4c2dd 100755
--- a/Build/source/texk/seetexk/seetexk.test
+++ b/Build/source/texk/seetexk/seetexk.test
@@ -24,6 +24,15 @@ echo dviselect tests OK
echo dvibook tests OK
+rm -f playbook.2
+
+cat playsel.dvi | ./dvibook -s4 -o playbook.dvi \
+ 2>playbook.2 \
+ && diff playbook.2 $srcdir/tests/playbook.2 \
+ || exit 1
+
+echo dvibook reading stdin tests OK
+
./dviselect =5:7 $srcdir/tests/play.dvi playsel1.dvi \
2>playconc.2 \
&& ./dviselect 23:25 $srcdir/tests/play.dvi playsel2.dvi \
@@ -42,3 +51,12 @@ echo dviconcat tests OK
echo dvitodvi tests OK
+rm -f playdvi.2
+
+cat playsel.dvi | ./dvitodvi '4:500@0+1(16.5cm,0)+2(0,28cm)+3(16.5cm,28cm)' -o playdvi.dvi \
+ 2>playdvi.2 \
+ && diff playdvi.2 $srcdir/tests/playdvi.2 \
+ || exit 1
+
+echo dvitodvi reading stdin tests OK
+