summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-10-24 21:38:19 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2019-10-24 21:38:19 +0000
commit66496cabe7e95ae611a7276792b8752cf76eb8c7 (patch)
treecc2dff4beefca662f1b725e260c356155c94a608 /Build/source/texk
parent5f0042375acd9c4ce078135120062a1b2e210840 (diff)
*ptexdir/*pver.test: do not use -E for extended regexp syntax
report from Mojca, thanks to Karl git-svn-id: svn://tug.org/texlive/trunk@52519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-xBuild/source/texk/web2c/eptexdir/epver.test8
-rwxr-xr-xBuild/source/texk/web2c/euptexdir/eupver.test8
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/pver.test8
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/upver.test8
4 files changed, 16 insertions, 16 deletions
diff --git a/Build/source/texk/web2c/eptexdir/epver.test b/Build/source/texk/web2c/eptexdir/epver.test
index 0a232cf1392..d2b8adc1f9e 100755
--- a/Build/source/texk/web2c/eptexdir/epver.test
+++ b/Build/source/texk/web2c/eptexdir/epver.test
@@ -10,21 +10,21 @@ TEXINPUTS=$srcdir/ptexdir/tests:.; export TEXINPUTS
# check consistency between runtime terminal and log
./eptex -ini -etex -interaction batchmode -jobname epver1-log pver1.tex >epver1-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' \
epver1-term.log >epver1-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' \
epver1-log.log >epver1-log_ed.log || exit 1
diff epver1-term_ed.log epver1-log_ed.log || exit 2
# check consistency between runtime and version output
./eptex -version >epver2-self.log || exit 1
-sed -nE '1 s/^([-A-Za-z]+) [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n '1 s/^\([-A-Za-z]*\) [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
epver2-self.log >epver2-self_ed.log || exit 1
diff epver1-term_ed.log epver2-self_ed.log || exit 4
# check consistency between version output and version primitives
./eptex -ini -etex -interaction batchmode -jobname epver2-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' \
epver2-prim.log >epver2-prim_ed.log || exit 1
diff epver2-self_ed.log epver2-prim_ed.log || exit 8
diff --git a/Build/source/texk/web2c/euptexdir/eupver.test b/Build/source/texk/web2c/euptexdir/eupver.test
index 227f65bdc0b..c2a9281618e 100755
--- a/Build/source/texk/web2c/euptexdir/eupver.test
+++ b/Build/source/texk/web2c/euptexdir/eupver.test
@@ -10,21 +10,21 @@ TEXINPUTS=$srcdir/ptexdir/tests:.; export TEXINPUTS
# check consistency between runtime terminal and log
./euptex -ini -etex -interaction batchmode -jobname eupver1-log pver1.tex >eupver1-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' \
eupver1-term.log >eupver1-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' \
eupver1-log.log >eupver1-log_ed.log || exit 1
diff eupver1-term_ed.log eupver1-log_ed.log || exit 2
# check consistency between runtime and version output
./euptex -version >eupver2-self.log || exit 1
-sed -nE '1 s/^([-A-Za-z]+) [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n '1 s/^\([-A-Za-z]*\) [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
eupver2-self.log >eupver2-self_ed.log || exit 1
diff eupver1-term_ed.log eupver2-self_ed.log || exit 4
# check consistency between version output and version primitives
./euptex -ini -etex -interaction batchmode -jobname eupver2-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' \
eupver2-prim.log >eupver2-prim_ed.log || exit 1
diff eupver2-self_ed.log eupver2-prim_ed.log || exit 8
diff --git a/Build/source/texk/web2c/ptexdir/pver.test b/Build/source/texk/web2c/ptexdir/pver.test
index 519d560e319..682625fcae9 100755
--- a/Build/source/texk/web2c/ptexdir/pver.test
+++ b/Build/source/texk/web2c/ptexdir/pver.test
@@ -10,21 +10,21 @@ TEXINPUTS=$srcdir/ptexdir/tests:.; export TEXINPUTS
# check consistency between runtime terminal and log
./ptex -ini -interaction batchmode -jobname pver1-log pver1.tex >pver1-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' \
pver1-term.log >pver1-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' \
pver1-log.log >pver1-log_ed.log || exit 1
diff pver1-term_ed.log pver1-log_ed.log || exit 2
# check consistency between runtime and version output
./ptex -version >pver2-self.log || exit 1
-sed -nE '1 s/^([-A-Za-z]+) [^-]+-([^ ]+) (.*)/\1 \2/p' \
+sed -n '1 s/^\([-A-Za-z]*\) [^-]*-\([^ ]*\) \(.*\)/\1 \2/p' \
pver2-self.log >pver2-self_ed.log || exit 1
diff pver1-term_ed.log pver2-self_ed.log || exit 4
# check consistency between version output and version primitives
./ptex -ini -interaction batchmode -jobname pver2-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' \
pver2-prim.log >pver2-prim_ed.log || exit 1
diff pver2-self_ed.log pver2-prim_ed.log || exit 8
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