summaryrefslogtreecommitdiff
path: root/Build/source/texk/bibtex-x/tests
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-04-16 10:00:56 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-04-16 10:00:56 +0000
commit679415ca8ea07f6d0840b5f88d7437649048732e (patch)
tree07baa8575f43b157b1d07284a9bb78ea4edc9fed /Build/source/texk/bibtex-x/tests
parent207a8a1821f51269f9b939749323a6d4bfe549f3 (diff)
bibtex-x: tweak test files.
git-svn-id: svn://tug.org/texlive/trunk@63039 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/bibtex-x/tests')
-rwxr-xr-xBuild/source/texk/bibtex-x/tests/bibtex8-mem.test70
-rwxr-xr-xBuild/source/texk/bibtex-x/tests/sort.test25
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu-az.bbl12
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu-da.bbl12
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu-en.bbl12
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu-fi.bbl12
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu-tr.bbl12
-rw-r--r--Build/source/texk/bibtex-x/tests/sortu.aux2
-rw-r--r--Build/source/texk/bibtex-x/tests/testdatau.bib43
-rw-r--r--Build/source/texk/bibtex-x/tests/testsortu.bib27
10 files changed, 88 insertions, 139 deletions
diff --git a/Build/source/texk/bibtex-x/tests/bibtex8-mem.test b/Build/source/texk/bibtex-x/tests/bibtex8-mem.test
deleted file mode 100755
index 50424af632d..00000000000
--- a/Build/source/texk/bibtex-x/tests/bibtex8-mem.test
+++ /dev/null
@@ -1,70 +0,0 @@
-#! /bin/sh -vx
-# $Id$
-# Copyright 2017 Karl Berry <tex-live@tug.org>
-# Copyright 2010 Peter Breitenlohner <tex-live@tug.org>
-# You may freely use, modify and/or distribute this file.
-
-# Using test data from Philipp Lehman <lehman@gmx.net>
-
-test -d tests || mkdir -p tests
-
-# Create bib data
-mk_bib () {
- for i
- do
- for j in 0 1 2 3 4 5 6 7 8 9; do
- for k in 0 1 2 3 4 5 6 7 8 9; do
- for l in 0 1 2 3 4 5 6 7 8 9; do
- cat <<EOF
-@Type{key$i$j$k$l,
- field001 = {Value 001},
- field002 = {Value 002},
- field003 = {Value 003},
- field004 = {Value 004},
- field005 = {Value 005},
- field006 = {Value 006},
- field007 = {Value 007},
- field008 = {Value 008},
- field009 = {Value 009},
- field010 = {Value 010}
-}
-
-EOF
- done
- done
- done
- done
-}
-
-# Create aux data
-mk_aux () {
- cat <<EOF
-\relax
-\citation{*}
-\bibstyle{$1}
-\bibdata{memtest}
-EOF
-}
-
-for t in 1 2 3; do
-
- mk_aux memdata$t >tests/memtest$t.aux
-
- env=
-
- case $t in
- 1) mk_bib 0 >tests/memtest.bib;;
- 2) mk_bib 1 >>tests/memtest.bib;;
- 3) env='ent_str_size=2000 glob_str_size=2000';;
- esac
-
- echo "Running memtest$t ..."
-
- eval $env \
- TEXMFCNF=$srcdir/../kpathsea \
- BSTINPUTS=$srcdir/../web2c/tests:$srcdir/csf \
- BIBINPUTS=./tests \
- ./bibtex8 tests/memtest$t || exit 1
-
-done
-
diff --git a/Build/source/texk/bibtex-x/tests/sort.test b/Build/source/texk/bibtex-x/tests/sort.test
deleted file mode 100755
index ed4ffe6ffad..00000000000
--- a/Build/source/texk/bibtex-x/tests/sort.test
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /bin/sh -vx
-# $Id$
-# Copyright 2017 Karl Berry <tex-live@tug.org>
-# Copyright 2010 Peter Breitenlohner <tex-live@tug.org>
-# You may freely use, modify and/or distribute this file.
-
-# Using test data from Philipp Lehman <lehman@gmx.net>
-
-test -d tests || mkdir -p tests
-
-cp $srcdir/tests/sort.aux tests/xsort.aux
-
-for i in 1 2 3; do
-
-rm -f xsort.bbl
-
-TEXMFCNF=$srcdir/../kpathsea \
- BSTINPUTS=$srcdir/tests \
- BIBINPUTS=$srcdir/tests \
- ./bibtex8 --csfile sort$i.csf tests/xsort || exit 1
-
-diff $srcdir/tests/sort$i.bbl tests/xsort.bbl || exit 1
-
-done
-
diff --git a/Build/source/texk/bibtex-x/tests/sortu-az.bbl b/Build/source/texk/bibtex-x/tests/sortu-az.bbl
index 58a526aecbb..c9cb3ea758d 100644
--- a/Build/source/texk/bibtex-x/tests/sortu-az.bbl
+++ b/Build/source/texk/bibtex-x/tests/sortu-az.bbl
@@ -11,5 +11,17 @@
\item Öö ÖÖ öö
\item Yy YY yy
\item Zz ZZ zz
+\item Аа АА аа
+\item Бб ББ бб
+\item Вв ВВ вв
+\item Ээ ЭЭ ээ
+\item Юю ЮЮ юю
+\item Яя ЯЯ яя
+\item Αα ΑΑ αα
+\item Ββ ΒΒ ββ
+\item Γγ ΓΓ γγ
+\item Χχ ΧΧ χχ
+\item Ψψ ΨΨ ψψ
+\item Ωω ΩΩ ωω
\end{itemize}
\endinput
diff --git a/Build/source/texk/bibtex-x/tests/sortu-da.bbl b/Build/source/texk/bibtex-x/tests/sortu-da.bbl
index faa1b9f351c..c9f0485addf 100644
--- a/Build/source/texk/bibtex-x/tests/sortu-da.bbl
+++ b/Build/source/texk/bibtex-x/tests/sortu-da.bbl
@@ -11,5 +11,17 @@
\item Öö ÖÖ öö
\item Aa AA aa
\item Åå ÅÅ åå
+\item Αα ΑΑ αα
+\item Ββ ΒΒ ββ
+\item Γγ ΓΓ γγ
+\item Χχ ΧΧ χχ
+\item Ψψ ΨΨ ψψ
+\item Ωω ΩΩ ωω
+\item Аа АА аа
+\item Бб ББ бб
+\item Вв ВВ вв
+\item Ээ ЭЭ ээ
+\item Юю ЮЮ юю
+\item Яя ЯЯ яя
\end{itemize}
\endinput
diff --git a/Build/source/texk/bibtex-x/tests/sortu-en.bbl b/Build/source/texk/bibtex-x/tests/sortu-en.bbl
index 68d35c1a1e6..53f24ba70d5 100644
--- a/Build/source/texk/bibtex-x/tests/sortu-en.bbl
+++ b/Build/source/texk/bibtex-x/tests/sortu-en.bbl
@@ -11,5 +11,17 @@
\item Xx XX xx
\item Yy YY yy
\item Zz ZZ zz
+\item Αα ΑΑ αα
+\item Ββ ΒΒ ββ
+\item Γγ ΓΓ γγ
+\item Χχ ΧΧ χχ
+\item Ψψ ΨΨ ψψ
+\item Ωω ΩΩ ωω
+\item Аа АА аа
+\item Бб ББ бб
+\item Вв ВВ вв
+\item Ээ ЭЭ ээ
+\item Юю ЮЮ юю
+\item Яя ЯЯ яя
\end{itemize}
\endinput
diff --git a/Build/source/texk/bibtex-x/tests/sortu-fi.bbl b/Build/source/texk/bibtex-x/tests/sortu-fi.bbl
index 40adb287ce0..db180ee186e 100644
--- a/Build/source/texk/bibtex-x/tests/sortu-fi.bbl
+++ b/Build/source/texk/bibtex-x/tests/sortu-fi.bbl
@@ -11,5 +11,17 @@
\item Ää ÄÄ ää
\item Öö ÖÖ öö
\item Øø ØØ øø
+\item Αα ΑΑ αα
+\item Ββ ΒΒ ββ
+\item Γγ ΓΓ γγ
+\item Χχ ΧΧ χχ
+\item Ψψ ΨΨ ψψ
+\item Ωω ΩΩ ωω
+\item Аа АА аа
+\item Бб ББ бб
+\item Вв ВВ вв
+\item Ээ ЭЭ ээ
+\item Юю ЮЮ юю
+\item Яя ЯЯ яя
\end{itemize}
\endinput
diff --git a/Build/source/texk/bibtex-x/tests/sortu-tr.bbl b/Build/source/texk/bibtex-x/tests/sortu-tr.bbl
index 4d874b184e0..3497df87255 100644
--- a/Build/source/texk/bibtex-x/tests/sortu-tr.bbl
+++ b/Build/source/texk/bibtex-x/tests/sortu-tr.bbl
@@ -11,5 +11,17 @@
\item Xx XX xx
\item Yy YY yy
\item Zz ZZ zz
+\item Αα ΑΑ αα
+\item Ββ ΒΒ ββ
+\item Γγ ΓΓ γγ
+\item Χχ ΧΧ χχ
+\item Ψψ ΨΨ ψψ
+\item Ωω ΩΩ ωω
+\item Аа АА аа
+\item Бб ББ бб
+\item Вв ВВ вв
+\item Ээ ЭЭ ээ
+\item Юю ЮЮ юю
+\item Яя ЯЯ яя
\end{itemize}
\endinput
diff --git a/Build/source/texk/bibtex-x/tests/sortu.aux b/Build/source/texk/bibtex-x/tests/sortu.aux
index 24dd5d4b090..6d541f02535 100644
--- a/Build/source/texk/bibtex-x/tests/sortu.aux
+++ b/Build/source/texk/bibtex-x/tests/sortu.aux
@@ -1,4 +1,4 @@
\relax
\citation{*}
\bibstyle{teststyle}
-\bibdata{testdatau}
+\bibdata{testsortu}
diff --git a/Build/source/texk/bibtex-x/tests/testdatau.bib b/Build/source/texk/bibtex-x/tests/testdatau.bib
deleted file mode 100644
index d31a115bb7a..00000000000
--- a/Build/source/texk/bibtex-x/tests/testdatau.bib
+++ /dev/null
@@ -1,43 +0,0 @@
-@Type{8bit-1,
- field = {Øø},
-}
-
-@Type{8bit-2,
- field = {Åå},
-}
-
-@Type{8bit-3,
- field = {Ää},
-}
-
-@Type{8bit-4,
- field = {Öö},
-}
-
-@Type{aa,
- field = {Aa},
-}
-
-@Type{bb,
- field = {Bb},
-}
-
-@Type{cc,
- field = {Cc},
-}
-
-@Type{oo,
- field = {Oo},
-}
-
-@Type{xx,
- field = {Xx},
-}
-
-@Type{yy,
- field = {Yy},
-}
-
-@Type{zz,
- field = {Zz},
-}
diff --git a/Build/source/texk/bibtex-x/tests/testsortu.bib b/Build/source/texk/bibtex-x/tests/testsortu.bib
new file mode 100644
index 00000000000..0d7b6253aef
--- /dev/null
+++ b/Build/source/texk/bibtex-x/tests/testsortu.bib
@@ -0,0 +1,27 @@
+@Type{8bit-1, field = {Øø}, }
+@Type{8bit-2, field = {Åå}, }
+@Type{8bit-3, field = {Ää}, }
+@Type{8bit-4, field = {Öö}, }
+
+@Type{aa, field = {Aa}, }
+@Type{bb, field = {Bb}, }
+@Type{cc, field = {Cc}, }
+@Type{oo, field = {Oo}, }
+@Type{xx, field = {Xx}, }
+@Type{yy, field = {Yy}, }
+@Type{zz, field = {Zz}, }
+
+@Type{greek1, field = {Αα}, }
+@Type{greek2, field = {Ββ}, }
+@Type{greek3, field = {Γγ}, }
+@Type{greek4, field = {Χχ}, }
+@Type{greek5, field = {Ψψ}, }
+@Type{greek6, field = {Ωω}, }
+
+@Type{cyrillic1, field = {Аа}, }
+@Type{cyrillic2, field = {Бб}, }
+@Type{cyrillic3, field = {Вв}, }
+@Type{cyrillic4, field = {Ээ}, }
+@Type{cyrillic5, field = {Юю}, }
+@Type{cyrillic6, field = {Яя}, }
+