diff --git a/texk/web2c/eptexdir/ChangeLog b/texk/web2c/eptexdir/ChangeLog index 2aec4aaec9..baada61bbc 100644 --- a/texk/web2c/eptexdir/ChangeLog +++ b/texk/web2c/eptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji + + * wcfname.test: Add tests for --recorder and *.fls. + https://github.com/texjporg/tex-jp-build/issues/45 + 2023-11-24 TANAKA Takuji * eptriptest.test, eptrip/eptrip.{log,tex}: diff --git a/texk/web2c/eptexdir/wcfname.test b/texk/web2c/eptexdir/wcfname.test index ce448d9617..502880d742 100755 --- a/texk/web2c/eptexdir/wcfname.test +++ b/texk/web2c/eptexdir/wcfname.test @@ -72,11 +72,12 @@ for doc in fn-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14 + mv $doc-$ienc.txt $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } rm -f $testdir/fn±×÷§¶-utf8-tmp.tex @@ -104,11 +105,11 @@ for doc in fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=20 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=23 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=4 ; err4=$err4" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/euptexdir/ChangeLog b/texk/web2c/euptexdir/ChangeLog index ebb4517175..f3cfab811b 100644 --- a/texk/web2c/euptexdir/ChangeLog +++ b/texk/web2c/euptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji + + * wcfname{,0}.test: Add tests for --recorder and *.fls. + https://github.com/texjporg/tex-jp-build/issues/45 + 2023-11-24 TANAKA Takuji * wcfname.test: Add test for file names with over-BMP diff --git a/texk/web2c/euptexdir/wcfname.test b/texk/web2c/euptexdir/wcfname.test index b84ec11877..f8c56d732f 100755 --- a/texk/web2c/euptexdir/wcfname.test +++ b/texk/web2c/euptexdir/wcfname.test @@ -84,11 +84,11 @@ for doc in fn-$fenc fnさざ波-$fenc fn£¥µÆÇñß-$fenc fnΔДदダ打다 echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || rc=14 diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/euptexdir/wcfname0.test b/texk/web2c/euptexdir/wcfname0.test index 9aaa3d9157..e6199b0c8d 100755 --- a/texk/web2c/euptexdir/wcfname0.test +++ b/texk/web2c/euptexdir/wcfname0.test @@ -77,11 +77,12 @@ for doc in fn-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } rm -f $testdir/fn±×÷§¶-utf8-tmp.tex @@ -113,11 +114,12 @@ for doc in fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=20 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=23 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=24 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=4 ; err4=$err4" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/pdftexdir/ChangeLog b/texk/web2c/pdftexdir/ChangeLog index 96f9975bd3..223c74b527 100644 --- a/texk/web2c/pdftexdir/ChangeLog +++ b/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,7 @@ +2023-11-25 TANAKA Takuji + + * wcfname.test: Add tests for --recorder and *.fls. + 2023-11-24 TANAKA Takuji * wcfname.test: Add test for file names with over-BMP diff --git a/texk/web2c/pdftexdir/wcfname.test b/texk/web2c/pdftexdir/wcfname.test index 9b19b9a348..20d34b003e 100755 --- a/texk/web2c/pdftexdir/wcfname.test +++ b/texk/web2c/pdftexdir/wcfname.test @@ -66,11 +66,11 @@ for doc in fn-$fenc fn£¥µÆÇñß-$fenc fnさざ波-$fenc fnΔДदダ打다 echo '>>> Document:'$doc ' File Encoding:'$fenc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape $doc.tex >$testdir/$doc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape --recorder $doc.tex >$testdir/$doc-term.log || \ { rc=1 ; err1=$err1" $fenc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc.txt $doc.log $testdir/ + mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14 ## It does not work. ## diff $testdir/$doc.txt $srcdir/tests/fn-$fenc.txt || \ ## { rc=2 ; err2=$err2" $fenc:$doc" ; } diff --git a/texk/web2c/ptexdir/ChangeLog b/texk/web2c/ptexdir/ChangeLog index c6d9a558df..ffd56a55c8 100644 --- a/texk/web2c/ptexdir/ChangeLog +++ b/texk/web2c/ptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji + + * wcfname.test: Add tests for --recorder and *.fls. + https://github.com/texjporg/tex-jp-build/issues/45 + 2023-11-24 TANAKA Takuji * ptriptest.test: diff --git a/texk/web2c/ptexdir/wcfname.test b/texk/web2c/ptexdir/wcfname.test index e53866f61d..f20a66a75b 100755 --- a/texk/web2c/ptexdir/wcfname.test +++ b/texk/web2c/ptexdir/wcfname.test @@ -72,11 +72,12 @@ for doc in fn-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } rm -f $testdir/fn±×÷§¶-utf8-tmp.tex @@ -104,11 +105,12 @@ for doc in fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=20 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=23 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=24 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=4 ; err4=$err4" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/ptexdir/zfmtcompress.test b/texk/web2c/ptexdir/zfmtcompress.test index 35733a5d4c..31b67dce06 100755 --- a/texk/web2c/ptexdir/zfmtcompress.test +++ b/texk/web2c/ptexdir/zfmtcompress.test @@ -47,7 +47,7 @@ test0() { rm -f stress-$ENGINE.fmt test0.dvi test0.xdv &>/dev/null $_engine -ini -etex -progname=$ENGINE -jobname=stress-$ENGINE stress &>/dev/null ls -l stress-$ENGINE.fmt - if [[ $ENGINE = "xetex" ]]; then + if [[ "$ENGINE" = "xetex" ]]; then $_engine -fmt=./stress-$ENGINE.fmt -no-pdf test0.tex &>/dev/null ls -l test0.xdv else @@ -86,7 +86,7 @@ test1() { rm -f latex-$ENGINE.fmt test1.dvi test1.xdv &>/dev/null $_engine -ini -etex -progname=latex-dev -jobname=latex-$ENGINE latex.ini &>/dev/null ls -l latex-$ENGINE.fmt - if [[ $ENGINE = "xetex" ]]; then + if [[ "$ENGINE" = "xetex" ]]; then $_engine -fmt=./latex-$ENGINE.fmt -no-pdf test1.tex &>/dev/null ls -l test1.xdv else diff --git a/texk/web2c/uptexdir/ChangeLog b/texk/web2c/uptexdir/ChangeLog index 39b3fe94a1..18d98a8809 100644 --- a/texk/web2c/uptexdir/ChangeLog +++ b/texk/web2c/uptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji + + * wcfname{,0}.test: Add tests for --recorder and *.fls. + https://github.com/texjporg/tex-jp-build/issues/45 + 2023-11-24 TANAKA Takuji * wcfname.test: Add test for file names with over-BMP diff --git a/texk/web2c/uptexdir/wcfname.test b/texk/web2c/uptexdir/wcfname.test index a3367bdf2a..c0bf2a2c26 100755 --- a/texk/web2c/uptexdir/wcfname.test +++ b/texk/web2c/uptexdir/wcfname.test @@ -84,11 +84,11 @@ for doc in fn-$fenc fnさざ波-$fenc fn£¥µÆÇñß-$fenc fnΔДदダ打다 echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || rc=14 diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/uptexdir/wcfname0.test b/texk/web2c/uptexdir/wcfname0.test index bc67f869db..3ee99ce45d 100755 --- a/texk/web2c/uptexdir/wcfname0.test +++ b/texk/web2c/uptexdir/wcfname0.test @@ -77,11 +77,12 @@ for doc in fn-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } rm -f $testdir/fn±×÷§¶-utf8-tmp.tex @@ -113,11 +114,11 @@ for doc in fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=20 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=23 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=4 ; err4=$err4" $fenc:$ienc:$doc" ; } diff --git a/texk/web2c/xetexdir/ChangeLog b/texk/web2c/xetexdir/ChangeLog index b33e37e60e..d832731c01 100644 --- a/texk/web2c/xetexdir/ChangeLog +++ b/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,7 @@ +2023-11-25 TANAKA Takuji + + * wcfname.test: Add tests for --recorder and *.fls. + 2023-08-20 TANAKA Takuji * {wcfname,xetex-bug73,xetex-filedump,xetex}.test: diff --git a/texk/web2c/xetexdir/wcfname.test b/texk/web2c/xetexdir/wcfname.test index a07d88b37e..78c63264d8 100755 --- a/texk/web2c/xetexdir/wcfname.test +++ b/texk/web2c/xetexdir/wcfname.test @@ -66,11 +66,11 @@ for doc in fn-$fenc fn£¥µÆÇñß-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape $doc.tex >$testdir/$doc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape --recorder $doc.tex >$testdir/$doc-term.log || \ { rc=1 ; err1=$err1" $fenc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc.txt $doc.log $testdir/ + mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14 diff $testdir/$doc.txt $srcdir/tests/fn-utf8.txt || \ { rc=2 ; err2=$err2" $fenc:$doc" ; }