summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvi2tty/dvi2tty.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvi2tty/dvi2tty.test')
-rwxr-xr-xBuild/source/texk/dvi2tty/dvi2tty.test14
1 files changed, 10 insertions, 4 deletions
diff --git a/Build/source/texk/dvi2tty/dvi2tty.test b/Build/source/texk/dvi2tty/dvi2tty.test
index 64522fdb5b3..096e3aa0256 100755
--- a/Build/source/texk/dvi2tty/dvi2tty.test
+++ b/Build/source/texk/dvi2tty/dvi2tty.test
@@ -4,11 +4,17 @@ test_src=$srcdir/$DVI2TTY_TREE/test
unset DVI2TTY # nullify dvi2tty options (if any)
-./dvi2tty $test_src/test.dvi >test.out && diff $srcdir/test.tty test.out || exit 1
+rc=0
-./dvi2tty -s $test_src/test.dvi >tests.out && diff $srcdir/tests.tty tests.out || exit 1
+./dvi2tty $test_src/test.dvi >test.out && diff $srcdir/test.tty test.out || rc=1
-./dvi2tty -u $test_src/test.dvi >testu.out && diff $srcdir/testu.tty testu.out || exit 1
+./dvi2tty -c $test_src/test.dvi >testc.out && diff $srcdir/testc.tty testc.out || rc=1
-./dvi2tty $test_src/ligtest >ligtest.out && diff $srcdir/ligtest.tty ligtest.out || exit 1
+./dvi2tty -s $test_src/test.dvi >tests.out && diff $srcdir/tests.tty tests.out || rc=1
+
+./dvi2tty -u $test_src/test.dvi >testu.out && diff $srcdir/testu.tty testu.out || rc=1
+
+./dvi2tty $test_src/ligtest >ligtest.out && diff $srcdir/ligtest.tty ligtest.out || rc=1
+
+exit $rc