diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-08-30 11:16:53 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-08-30 11:16:53 +0000 |
commit | 91070b658c5ac664b20b6eb0276b259a58a747f7 (patch) | |
tree | 839c575a5270357e1faf26bee9ec4dbc67d8fb6c | |
parent | 5193e75fd7de9f38545ee893452923c785c985aa (diff) |
bibtex-x: tweak tests for portability
git-svn-id: svn://tug.org/texlive/trunk@68115 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/bibtex-x/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/bibtex-x/tests/bibtex8u-mem.test | 4 | ||||
-rwxr-xr-x | Build/source/texk/bibtex-x/tests/bibtexu-char.test | 2 | ||||
-rwxr-xr-x | Build/source/texk/dviout-util/dvispc.test | 5 |
4 files changed, 8 insertions, 8 deletions
diff --git a/Build/source/texk/bibtex-x/ChangeLog b/Build/source/texk/bibtex-x/ChangeLog index f881b19602e..d9e4e352ca5 100644 --- a/Build/source/texk/bibtex-x/ChangeLog +++ b/Build/source/texk/bibtex-x/ChangeLog @@ -1,3 +1,8 @@ +2023-08-30 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * tests/{bibtex8u-mem,bibtexu-char}.test: + Tweak for portability. + 2023-08-20 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * bibtex.c, sysdep.h: Avoid compiler warnings on Windows. diff --git a/Build/source/texk/bibtex-x/tests/bibtex8u-mem.test b/Build/source/texk/bibtex-x/tests/bibtex8u-mem.test index 4e936537a85..91eedf7b2d7 100755 --- a/Build/source/texk/bibtex-x/tests/bibtex8u-mem.test +++ b/Build/source/texk/bibtex-x/tests/bibtex8u-mem.test @@ -69,14 +69,14 @@ for t in 1 2 3; do TEXMFCNF=$srcdir/../kpathsea \ BSTINPUTS=$srcdir/../web2c/tests'\;'$srcdir/csf \ BIBINPUTS=./tests \ - $_bibtex8 -s tests/memtest$t || exit $((10 + t)) + $_bibtex8 -s tests/memtest$t || exit `expr 10 + $t` cp -p tests/memtest$t.aux tests/memtestu$t.aux eval $env \ TEXMFCNF=$srcdir/../kpathsea \ BSTINPUTS=$srcdir/../web2c/tests \ BIBINPUTS=./tests \ - $_bibtexu -s tests/memtestu$t || exit $((20 + t)) + $_bibtexu -s tests/memtestu$t || exit `expr 20 + $t` done diff --git a/Build/source/texk/bibtex-x/tests/bibtexu-char.test b/Build/source/texk/bibtex-x/tests/bibtexu-char.test index 9f8842cdc78..a23e6a81869 100755 --- a/Build/source/texk/bibtex-x/tests/bibtexu-char.test +++ b/Build/source/texk/bibtex-x/tests/bibtexu-char.test @@ -19,7 +19,7 @@ BIBINPUTS=$srcdir/tests; export BIBINPUTS rc=0 -if [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then +if [ "$(expr substr $(uname -s) 1 5)" = "MINGW" ]; then echo "*** skip test $0 on MinGW" exit 77 fi diff --git a/Build/source/texk/dviout-util/dvispc.test b/Build/source/texk/dviout-util/dvispc.test index 6e74817a913..3adee85a7eb 100755 --- a/Build/source/texk/dviout-util/dvispc.test +++ b/Build/source/texk/dviout-util/dvispc.test @@ -18,11 +18,6 @@ CMP="cmp" $DIFF --strip-trailing-cr $0 $0 \ && DIFF="diff --strip-trailing-cr" || echo -#if [ "$(expr substr $(uname -s) 1 5)" == "MINGW" ]; then -# echo "*** skip test $0 on MINGW" -# exit 0 -#fi - ## show banner $_dvispc |