summaryrefslogtreecommitdiff
path: root/biblio/bibtex/bibtex-x/tests/bibtex8-sort.test
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-12 03:03:37 +0000
committerNorbert Preining <norbert@preining.info>2023-08-12 03:03:37 +0000
commit1671b301fbe6cef52ccfa6085824e9677703e023 (patch)
tree351f5c112c4ca58d43310883a432d05d9c60670b /biblio/bibtex/bibtex-x/tests/bibtex8-sort.test
parent3bfa493a1fafa36f78e84022bfe6511b23f51781 (diff)
CTAN sync 202308120303
Diffstat (limited to 'biblio/bibtex/bibtex-x/tests/bibtex8-sort.test')
-rwxr-xr-xbiblio/bibtex/bibtex-x/tests/bibtex8-sort.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/biblio/bibtex/bibtex-x/tests/bibtex8-sort.test b/biblio/bibtex/bibtex-x/tests/bibtex8-sort.test
index 9599b0a18f..ddc0c05848 100755
--- a/biblio/bibtex/bibtex-x/tests/bibtex8-sort.test
+++ b/biblio/bibtex/bibtex-x/tests/bibtex8-sort.test
@@ -6,6 +6,10 @@
# Using test data from Philipp Lehman <lehman@gmx.net>
+BinDir=${BinDir:-.}
+ExeExt=${ExeExt:-}
+_bibtex8=$BinDir/bibtex8$ExeExt
+
test -d tests || mkdir -p tests
rc=0
@@ -21,12 +25,12 @@ for i in 1 2 3; do
## test for sorting and change.case$
cp $srcdir/tests/sort.aux tests/xsort$i.aux
-./bibtex8 --csfile sort$i.csf tests/xsort$i || rc=1
+$_bibtex8 --csfile sort$i.csf tests/xsort$i || rc=1
diff $srcdir/tests/sort$i.bbl tests/xsort$i.bbl || rc=2
## test for change.case$
cp $srcdir/tests/casea.aux tests/xcase$i.aux
-./bibtex8 --csfile sort$i.csf tests/xcase$i || rc=3
+$_bibtex8 --csfile sort$i.csf tests/xcase$i || rc=3
diff $srcdir/tests/casea.bbl tests/xcase$i.bbl || rc=4
done