From ad547a6b5986815fda458221149728d9d9ab1d87 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 25 Feb 2021 19:22:25 +0000
Subject: restore Build,TODO from r57911

git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
---
 Build/source/texk/bibtex-x/tests/teststyle.bst | 36 ++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Build/source/texk/bibtex-x/tests/teststyle.bst

(limited to 'Build/source/texk/bibtex-x/tests/teststyle.bst')

diff --git a/Build/source/texk/bibtex-x/tests/teststyle.bst b/Build/source/texk/bibtex-x/tests/teststyle.bst
new file mode 100644
index 00000000000..72f7525c7b5
--- /dev/null
+++ b/Build/source/texk/bibtex-x/tests/teststyle.bst
@@ -0,0 +1,36 @@
+ENTRY {field}{}{}
+
+FUNCTION {output_entry} {
+  "\item " field * " " *
+  field "u" change.case$ * " " * 
+  field "l" change.case$ *
+  write$ newline$
+}
+
+FUNCTION {type} {output_entry}
+
+READ
+
+FUNCTION {set_sortkey} {
+  field 'sort.key$ :=
+}
+
+ITERATE {set_sortkey}
+
+SORT
+
+FUNCTION {output_beg} {
+  "\section*{Test result}" write$ newline$
+  "\begin{itemize}" write$ newline$
+}
+
+FUNCTION {output_end} {
+  "\end{itemize}" write$ newline$
+  "\endinput" write$ newline$
+}
+
+EXECUTE {output_beg}
+
+ITERATE {call.type$}
+
+EXECUTE {output_end}
-- 
cgit v1.2.3

