summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtexu.test
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/bibtexu.test')
-rwxr-xr-xbiblio/bibtex/bibtex-x/tests/bibtexu.test14
1 files changed, 9 insertions, 5 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/bibtexu.test b/biblio/bibtex/bibtex-x/tests/bibtexu.test
index 2fa7565ef3..d9154466c0 100755
--- a/biblio/bibtex/bibtex-x/tests/bibtexu.test
+++ b/biblio/bibtex/bibtex-x/tests/bibtexu.test
@@ -1,10 +1,14 @@
#! /bin/sh -vx
-# $Id: bibtexu.test 67639 2023-07-15 13:46:41Z takuji $
+# $Id: bibtexu.test 67881 2023-08-11 11:46:28Z takuji $
# Copyright 2017-2023 Karl Berry <tex-live@tug.org>
# Copyright 2010 Peter Breitenlohner <tex-live@tug.org>
# Copyright 2023 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
# You may freely use, modify and/or distribute this file.
+BinDir=${BinDir:-.}
+ExeExt=${ExeExt:-}
+_bibtexu=$BinDir/bibtexu$ExeExt
+
test -d tests || mkdir -p tests
rc=0
@@ -17,7 +21,7 @@ cp $srcdir/../web2c/tests/exampl.aux tests/uexampl.aux || rc=1
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/../web2c/tests \
BIBINPUTS=$srcdir/../web2c/tests \
- ./bibtexu -s -d all tests/uexampl || test $? = 1 || rc=2
+ $_bibtexu -s -d all tests/uexampl || test $? = 1 || rc=2
diff $srcdir/tests/exampl.bbl tests/uexampl.bbl || rc=3
@@ -30,18 +34,18 @@ export TEXMFCNF BSTINPUTS BIBINPUTS
cp $srcdir/../web2c/tests/exampl.aux tests/uex_пробный.aux || rc=4
-./bibtexu -s -d io tests/uex_пробный || test $? = 1 || rc=5
+$_bibtexu -s -d io tests/uex_пробный || test $? = 1 || rc=5
diff $srcdir/tests/exampl.bbl tests/uex_пробный.bbl || rc=6
cp $srcdir/../web2c/tests/exampl.aux tests/uex_试验.aux || rc=7
-./bibtexu -s -d io tests/uex_试验 || test $? = 1 || rc=8
+$_bibtexu -s -d io tests/uex_试验 || test $? = 1 || rc=8
diff $srcdir/tests/exampl.bbl tests/uex_试验.bbl || rc=9
## not exist, cause fatal error
-./bibtexu -d io tests/uex_δίκη || test $? = 1 && rc=10
+$_bibtexu -d io tests/uex_δίκη || test $? = 1 && rc=10
exit $rc