summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipos/dvipos.test
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-03-07 02:31:20 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2021-03-07 02:31:20 +0000
commit1fb391cc620bc296ee900ef2cebf23833ec1b381 (patch)
treee5a35e42beb0defdb040c0012d4352d5f28b46b4 /Build/source/texk/dvipos/dvipos.test
parent69bea4dabce71b91c1b721fdd88afd4bfbe2f3ab (diff)
dvipos: tewak a test
git-svn-id: svn://tug.org/texlive/trunk@58189 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipos/dvipos.test')
-rwxr-xr-xBuild/source/texk/dvipos/dvipos.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/Build/source/texk/dvipos/dvipos.test b/Build/source/texk/dvipos/dvipos.test
index 16036f14c68..d2e17f0cf56 100755
--- a/Build/source/texk/dvipos/dvipos.test
+++ b/Build/source/texk/dvipos/dvipos.test
@@ -13,9 +13,7 @@ cp $srcdir/tests/play.dvi .
./dvipos -b -o play.loc play.dvi || exit 1
diff play.loc $srcdir/tests/play.loc || exit 2
-if diff --ignore-matching-lines="Processing_data_and_time" play.pos play.pos; then
- diff --ignore-matching-lines="Processing_data_and_time" play.pos $srcdir/tests/play.pos || exit 3
-else
- echo Do not check difference of "play.pos"
-fi
+grep -v 'Processing_data_and_time' $srcdir/tests/play.pos > play_0.pos \
+ && grep -v 'Processing_data_and_time' play.pos > play_1.pos \
+ && diff play_0.pos play_1.pos || exit 3