diff options
author | Karl Berry <karl@freefriends.org> | 2021-02-19 16:45:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-02-19 16:45:39 +0000 |
commit | 485246e6f59ed4ae22aec163a5a4970bd6fbbf5d (patch) | |
tree | aa655ffe1743f073eb36712e96ac574581e3f120 | |
parent | ce9513efd0009ce2b14c3924447bbb965a14000a (diff) |
eliminate changing version number from comparison
git-svn-id: svn://tug.org/texlive/trunk@57800 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dvidvi/ChangeLog | 6 | ||||
-rwxr-xr-x | Build/source/texk/dvidvi/dvidvi.test | 21 | ||||
-rw-r--r-- | Build/source/texk/dvidvi/tests/playout.2 | 1 | ||||
-rw-r--r-- | Build/source/texk/dvidvi/tests/playout.3 | 1 |
4 files changed, 18 insertions, 11 deletions
diff --git a/Build/source/texk/dvidvi/ChangeLog b/Build/source/texk/dvidvi/ChangeLog index 94e4ebdc0bc..59f4f4ac786 100644 --- a/Build/source/texk/dvidvi/ChangeLog +++ b/Build/source/texk/dvidvi/ChangeLog @@ -1,3 +1,9 @@ +2021-02-19 Karl Berry <karl@freefriends.org> + + * dvidvi.test, + * tests/playout.2, + * tests/playout.3: eliminate version number from comparison. + 2020-12-09 Akira Kakuto <kakuto@w32tex.org> * dvidvi.c: Remove definition of a function win32_fprintf() diff --git a/Build/source/texk/dvidvi/dvidvi.test b/Build/source/texk/dvidvi/dvidvi.test index fe43da58d55..22aafae5753 100755 --- a/Build/source/texk/dvidvi/dvidvi.test +++ b/Build/source/texk/dvidvi/dvidvi.test @@ -1,20 +1,23 @@ #! /bin/sh -vx # $Id$ -# Copyright 2017 Karl Berry <tex-live@tug.org> +# Copyright 2017-2021 Karl Berry <tex-live@tug.org> # Copyright 2011 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. rm -rf play* cp $srcdir/tests/play.dvi . -./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' play playout \ - 2>playout.2 \ - && diff playout.2 $srcdir/tests/playout.2 \ - || exit 1 +./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' play playout 2>playout.2 +# +# Eliminate version number for the comparison. +grep -v '^This is dvidvi' playout.2 \ +| diff - $srcdir/tests/playout.2 \ +|| exit 1 rm -rf play* cp $srcdir/tests/playtate.dvi . -./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' playtate playout \ - 2>playout.3 \ - && diff playout.3 $srcdir/tests/playout.3 \ - || exit 1 +./dvidvi -f 5 -l @25 -m'4:-3,0(6,0)' playtate playout 2>playout.3 +# +grep -v '^This is dvidvi' playout.3 \ +| diff - $srcdir/tests/playout.3 \ +|| exit 1 diff --git a/Build/source/texk/dvidvi/tests/playout.2 b/Build/source/texk/dvidvi/tests/playout.2 index 19d1c7886cb..f944dc3f3ca 100644 --- a/Build/source/texk/dvidvi/tests/playout.2 +++ b/Build/source/texk/dvidvi/tests/playout.2 @@ -1,5 +1,4 @@ -This is dvidvi 1.1 (TeX Live 2021), Copyright 1988-1991 Radical Eye Software Improved from 1.0 to 1.1, 1994, Markus Kohm play.dvi -> playout.dvi [5] [12] [9] [8] [13] diff --git a/Build/source/texk/dvidvi/tests/playout.3 b/Build/source/texk/dvidvi/tests/playout.3 index 4d26a991230..17718ff12dc 100644 --- a/Build/source/texk/dvidvi/tests/playout.3 +++ b/Build/source/texk/dvidvi/tests/playout.3 @@ -1,5 +1,4 @@ -This is dvidvi 1.1 (TeX Live 2021), Copyright 1988-1991 Radical Eye Software Improved from 1.0 to 1.1, 1994, Markus Kohm playtate.dvi -> playout.dvi [5] [12] [9] [8] [13] |