summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/pmpostdir/upmpsamp.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/pmpostdir/upmpsamp.test')
-rwxr-xr-xBuild/source/texk/web2c/pmpostdir/upmpsamp.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pmpostdir/upmpsamp.test b/Build/source/texk/web2c/pmpostdir/upmpsamp.test
index f4dfe95e3ae..fcdb285e791 100755
--- a/Build/source/texk/web2c/pmpostdir/upmpsamp.test
+++ b/Build/source/texk/web2c/pmpostdir/upmpsamp.test
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/sh -vx
# Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
@@ -26,8 +26,12 @@ VFFONTS="$srcdir/$tests;`dirname $vfpath`"
export TEXMFCNF TFMFONTS MPINPUTS TEXFONTMAPS T1FONTS VFFONTS
+# check that we have euptex at all.
euptex -version >/dev/null 2>&1 || exit 77
+# ensure that euptex.fmt exists and can be read.
+euptex \\end >/dev/null 2>&1 || exit 77
+
echo 'input plain;' >upmpsamp.mp
cat "$srcdir/$tests/psample.mp" >>upmpsamp.mp