texlive[68077] Build/source/texk/web2c/omegaware: initialize $rc

commits+karl at tug.org commits+karl at tug.org
Sat Aug 26 22:44:58 CEST 2023


Revision: 68077
          http://tug.org/svn/texlive?view=revision&revision=68077
Author:   karl
Date:     2023-08-26 22:44:58 +0200 (Sat, 26 Aug 2023)
Log Message:
-----------
initialize $rc

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/omegaware/ChangeLog
    trunk/Build/source/texk/web2c/omegaware/ligkern.test

Modified: trunk/Build/source/texk/web2c/omegaware/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/omegaware/ChangeLog	2023-08-26 20:19:09 UTC (rev 68076)
+++ trunk/Build/source/texk/web2c/omegaware/ChangeLog	2023-08-26 20:44:58 UTC (rev 68077)
@@ -1,3 +1,7 @@
+2023-08-26  Karl Berry  <karl at freefriends.org>
+
+	* ligkern.test: protect against $rc being defined in the environment.
+
 2023-08-19  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* {odvicopy,odvitype,ofonts,overbmp}.test:

Modified: trunk/Build/source/texk/web2c/omegaware/ligkern.test
===================================================================
--- trunk/Build/source/texk/web2c/omegaware/ligkern.test	2023-08-26 20:19:09 UTC (rev 68076)
+++ trunk/Build/source/texk/web2c/omegaware/ligkern.test	2023-08-26 20:44:58 UTC (rev 68077)
@@ -22,17 +22,17 @@
 
 ligfiles='ligall ligbch ligblb ligbdy'
 
+rc=0
+
 for f in $ligfiles; do
+  echo && echo "*** opl2ofm $f x$f"
+  $_wopl2ofm $srcdir/$tests/$f $tests/x$f || rc=1
 
-echo && echo "*** opl2ofm $f x$f"
-$_wopl2ofm $srcdir/$tests/$f $tests/x$f || rc=1
+  echo && echo "*** ofm2opl x$f x$f"
+  $_wofm2opl $tests/x$f $tests/x$f || rc=2
 
-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
-
+  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"



More information about the tex-live-commits mailing list.