summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/upver.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/upver.test')
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/upver.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/uptexdir/upver.test b/Build/source/texk/web2c/uptexdir/upver.test
index 3aca618a467..9384214603f 100755
--- a/Build/source/texk/web2c/uptexdir/upver.test
+++ b/Build/source/texk/web2c/uptexdir/upver.test
@@ -10,21 +10,21 @@ TEXINPUTS=$srcdir/ptexdir/tests:.; export TEXINPUTS
# check consistency between runtime terminal and log
./uptex -ini -interaction batchmode -jobname upver1-log pver1.tex >upver1-term.log || exit 1
-sed -nE 's/^This is ([-A-Za-z]+), Version [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n 's/^This is \([-A-Za-z]*\), Version [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
upver1-term.log >upver1-term_ed.log || exit 1
-sed -nE 's/^This is ([-A-Za-z]+), Version [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n 's/^This is \([-A-Za-z]*\), Version [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
upver1-log.log >upver1-log_ed.log || exit 1
diff upver1-term_ed.log upver1-log_ed.log || exit 2
# check consistency between runtime and version output
./uptex -version >upver2-self.log || exit 1
-sed -nE '1 s/^([-A-Za-z]+) [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n '1 s/^\([-A-Za-z]*\) [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
upver2-self.log >upver2-self_ed.log || exit 1
diff upver1-term_ed.log upver2-self_ed.log || exit 4
# check consistency between version output and version primitives
./uptex -ini -interaction batchmode -jobname upver2-prim pver2.tex || exit 1
-sed -nE 's/^Engine ([-A-Za-z]+) ([^ ]+) (.*)/\1 \2/p' \
+sed -n 's/^Engine \([-A-Za-z]*\) \([^ ]*\) \(.*\)/\1 \2/p' \
upver2-prim.log >upver2-prim_ed.log || exit 1
diff upver2-self_ed.log upver2-prim_ed.log || exit 8