summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-26 20:44:58 +0000
committerKarl Berry <karl@freefriends.org>2023-08-26 20:44:58 +0000
commit83ee4a52401d4e6e0a0af8ae5fb5669cf8633388 (patch)
tree2c46032e810003b41d2e9d119f743ad41548ba0e
parent08ddeeb2ffd92ec2413a661c40025d7e2a15cd4d (diff)
initialize $rc
git-svn-id: svn://tug.org/texlive/trunk@68077 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/omegaware/ChangeLog4
-rwxr-xr-xBuild/source/texk/web2c/omegaware/ligkern.test16
2 files changed, 12 insertions, 8 deletions
diff --git a/Build/source/texk/web2c/omegaware/ChangeLog b/Build/source/texk/web2c/omegaware/ChangeLog
index 053b99a5b5d..dc158673a8a 100644
--- a/Build/source/texk/web2c/omegaware/ChangeLog
+++ b/Build/source/texk/web2c/omegaware/ChangeLog
@@ -1,3 +1,7 @@
+2023-08-26 Karl Berry <karl@freefriends.org>
+
+ * ligkern.test: protect against $rc being defined in the environment.
+
2023-08-19 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* {odvicopy,odvitype,ofonts,overbmp}.test:
diff --git a/Build/source/texk/web2c/omegaware/ligkern.test b/Build/source/texk/web2c/omegaware/ligkern.test
index e148fc1a144..57ca32e2d7f 100755
--- a/Build/source/texk/web2c/omegaware/ligkern.test
+++ b/Build/source/texk/web2c/omegaware/ligkern.test
@@ -22,17 +22,17 @@ OFMFONTS=".;./$tests"; export OFMFONTS
ligfiles='ligall ligbch ligblb ligbdy'
-for f in $ligfiles; do
-
-echo && echo "*** opl2ofm $f x$f"
-$_wopl2ofm $srcdir/$tests/$f $tests/x$f || rc=1
+rc=0
-echo && echo "*** ofm2opl x$f x$f"
-$_wofm2opl $tests/x$f $tests/x$f || rc=2
+for f in $ligfiles; do
+ echo && echo "*** opl2ofm $f x$f"
+ $_wopl2ofm $srcdir/$tests/$f $tests/x$f || rc=1
-echo && echo "*** diff $f.opl x$f.opl"
-diff $srcdir/$tests/$f.opl $tests/x$f.opl || rc=3
+ echo && echo "*** ofm2opl x$f x$f"
+ $_wofm2opl $tests/x$f $tests/x$f || rc=2
+ echo && echo "*** diff $f.opl x$f.opl"
+ diff $srcdir/$tests/$f.opl $tests/x$f.opl || rc=3
done
echo && echo "*** ovp2ovf ligblv xligblv xligblv"