diff options
Diffstat (limited to 'Build/source/texk/seetexk')
-rw-r--r-- | Build/source/texk/seetexk/ChangeLog | 2 | ||||
-rwxr-xr-x | Build/source/texk/seetexk/seetexk.test | 18 |
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 + |