head	1.1;
branch	1.1.1;
access;
symbols
	netbsd-11:1.1.1.1.0.2
	expat-2-8-5:1.1.1.1
	expat:1.1.1;
locks; strict;
comment	@ * @;


1.1
date	2026.09.23.11.38.12;	author nia;	state Exp;
branches
	1.1.1.1;
next	;
commitid	vGX9iectvW7CSJWG;

1.1.1.1
date	2026.09.23.11.38.12;	author nia;	state Exp;
branches
	1.1.1.1.2.1;
next	;
commitid	vGX9iectvW7CSJWG;

1.1.1.1.2.1
date	2026.09.23.11.38.12;	author martin;	state dead;
branches;
next	1.1.1.1.2.2;
commitid	uwsgrsVq2JxO5TXG;

1.1.1.1.2.2
date	2026.10.02.10.09.16;	author martin;	state Exp;
branches;
next	;
commitid	uwsgrsVq2JxO5TXG;


desc
@@


1.1
log
@Initial revision
@
text
@/* Tests related to the hash tables used inside Expat
                            __  __            _
                         ___\ \/ /_ __   __ _| |_
                        / _ \\  /| '_ \ / _` | __|
                       |  __//  \| |_) | (_| | |_
                        \___/_/\_\ .__/ \__,_|\__|
                                 |_| XML parser

   Copyright (c) 2026 Sebastian Pipping <sebastian@@pipping.org>
   Licensed under the MIT license:

   Permission is  hereby granted,  free of charge,  to any  person obtaining
   a  copy  of  this  software   and  associated  documentation  files  (the
   "Software"),  to  deal in  the  Software  without restriction,  including
   without  limitation the  rights  to use,  copy,  modify, merge,  publish,
   distribute, sublicense, and/or sell copies of the Software, and to permit
   persons  to whom  the Software  is  furnished to  do so,  subject to  the
   following conditions:

   The above copyright  notice and this permission notice  shall be included
   in all copies or substantial portions of the Software.

   THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
   EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
   NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
   DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
   OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
   USE OR OTHER DEALINGS IN THE SOFTWARE.

   SPDX-License-Identifier: MIT
*/

#ifndef XML_HASH_TESTS_H
#define XML_HASH_TESTS_H

#include "minicheck.h"

extern void make_hash_test_case(Suite *s);

#endif /* XML_HASH_TESTS_H */
@


1.1.1.1
log
@expat-2.8.5
@
text
@@


1.1.1.1.2.1
log
@file hash_tests.h was added on branch netbsd-11 on 2026-10-02 10:09:16 +0000
@
text
@d1 41
@


1.1.1.1.2.2
log
@Pull up the following, requested by nia in ticket #496:

	external/mit/expat/dist/conftools/compile       up to 1.3
	external/mit/expat/dist/conftools/ar-lib        up to 1.3
	external/mit/expat/dist/conftools/config.guess  up to 1.9
	external/mit/expat/dist/conftools/config.sub    up to 1.8
	external/mit/expat/dist/conftools/depcomp       up to 1.3
	external/mit/expat/dist/conftools/install-sh    up to 1.3
	external/mit/expat/dist/conftools/ltmain.sh     up to 1.3
	external/mit/expat/dist/conftools/missing       up to 1.3
	external/mit/expat/dist/conftools/test-driver   up to 1.3
	external/mit/expat/dist/doc/xmlwf.1             up to 1.3
	external/mit/expat/dist/doc/Makefile.in         up to 1.3
	external/mit/expat/dist/examples/Makefile.in    up to 1.3
	external/mit/expat/dist/lib/Makefile.in         up to 1.3
	external/mit/expat/dist/lib/hash_table.h        up to 1.1.1.1
	external/mit/expat/dist/tests/benchmark/Makefile.in up to 1.3
	external/mit/expat/dist/tests/Makefile.in       up to 1.3
	external/mit/expat/dist/tests/hash_tests.c      up to 1.1.1.1
	external/mit/expat/dist/tests/hash_tests.h      up to 1.1.1.1
	external/mit/expat/dist/xmlwf/Makefile.in       up to 1.3
	external/mit/expat/dist/m4/libtool.m4           up to 1.3
	external/mit/expat/dist/m4/ltoptions.m4         up to 1.3
	external/mit/expat/dist/m4/ltsugar.m4           up to 1.3
	external/mit/expat/dist/m4/ltversion.m4         up to 1.3
	external/mit/expat/dist/m4/lt~obsolete.m4       up to 1.3
	external/mit/expat/dist/Makefile.in             up to 1.3
	external/mit/expat/dist/cmake/mingw-toolchain-win32.cmake up to 1.1.1.1
	external/mit/expat/dist/cmake/mingw-toolchain-win64.cmake up to 1.1.1.1
	external/mit/expat/dist/aclocal.m4              up to 1.3
	external/mit/expat/dist/configure               up to 1.3
	external/mit/expat/dist/expat_config.h          up to 1.3
	external/mit/expat/dist/expat_config.h.in       up to 1.3
	external/mit/expat/dist/gennmtab/gennmtab.c     delete
	external/mit/expat/dist/qa.sh                   delete
	external/mit/expat/dist/cmake/mingw-toolchain.cmake delete
	external/mit/expat/dist/coverage.sh             delete
	external/mit/expat/dist/.clang-format           delete
	external/mit/expat/dist/apply-clang-format.sh   delete
	external/mit/expat/dist/apply-clang-tidy.sh     delete
	external/mit/expat/dist/clean_coverage.sh       delete
	external/mit/expat/dist/configure-ac-style.md   delete
	external/mit/expat/dist/distribute.sh           delete
	external/mit/expat/dist/CMake.README            up to 1.1.1.11
	external/mit/expat/dist/CMakeLists.txt          up to 1.1.1.11
	external/mit/expat/dist/Changes                 up to 1.1.1.12
	external/mit/expat/dist/Makefile.am             up to 1.1.1.6
	external/mit/expat/dist/README.md               up to 1.1.1.7
	external/mit/expat/dist/configure.ac            up to 1.1.1.10
	external/mit/expat/dist/fix-xmltest-log.sh      up to 1.1.1.5
	external/mit/expat/dist/cmake/autotools/expat__macos.cmake.in up to 1.1.1.2
	external/mit/expat/dist/doc/reference.html      up to 1.1.1.11
	external/mit/expat/dist/doc/xmlwf.xml           up to 1.1.1.8
	external/mit/expat/dist/examples/element_declarations.c up to 1.1.1.3
	external/mit/expat/dist/examples/elements.c     up to 1.1.1.8
	external/mit/expat/dist/examples/outline.c      up to 1.1.1.7
	external/mit/expat/dist/fuzz/xml_lpm_fuzzer.cpp up to 1.1.1.3
	external/mit/expat/dist/fuzz/xml_parse_fuzzer.c up to 1.1.1.4
	external/mit/expat/dist/fuzz/xml_parsebuffer_fuzzer.c up to 1.1.1.4
	external/mit/expat/dist/lib/Makefile.am         up to 1.1.1.6
	external/mit/expat/dist/lib/ascii.h             up to 1.1.1.4
	external/mit/expat/dist/lib/asciitab.h          up to 1.1.1.4
	external/mit/expat/dist/lib/expat.h             up to 1.1.1.12
	external/mit/expat/dist/lib/expat_external.h    up to 1.1.1.7
	external/mit/expat/dist/lib/fallthrough.h       up to 1.1.1.2
	external/mit/expat/dist/lib/iasciitab.h         up to 1.1.1.4
	external/mit/expat/dist/lib/internal.h          up to 1.1.1.8
	external/mit/expat/dist/lib/latin1tab.h         up to 1.1.1.4
	external/mit/expat/dist/lib/memory_sanitizer.h  up to 1.1.1.2
	external/mit/expat/dist/lib/nametab.h           up to 1.1.1.4
	external/mit/expat/dist/lib/random_arc4random.c up to 1.1.1.2
	external/mit/expat/dist/lib/random_arc4random.h up to 1.1.1.2
	external/mit/expat/dist/lib/random_arc4random_buf.c up to 1.1.1.3
	external/mit/expat/dist/lib/random_arc4random_buf.h up to 1.1.1.2
	external/mit/expat/dist/lib/random_dev_urandom.c up to 1.1.1.3
	external/mit/expat/dist/lib/random_dev_urandom.h up to 1.1.1.2
	external/mit/expat/dist/lib/random_getentropy.c up to 1.1.1.3
	external/mit/expat/dist/lib/random_getentropy.h up to 1.1.1.2
	external/mit/expat/dist/lib/random_getrandom.c  up to 1.1.1.3
	external/mit/expat/dist/lib/random_getrandom.h  up to 1.1.1.2
	external/mit/expat/dist/lib/random_rand_s.c     up to 1.1.1.2
	external/mit/expat/dist/lib/random_rand_s.h     up to 1.1.1.2
	external/mit/expat/dist/lib/siphash.h           up to 1.1.1.6
	external/mit/expat/dist/lib/utf8tab.h           up to 1.1.1.4
	external/mit/expat/dist/lib/winconfig.h         up to 1.1.1.6
	external/mit/expat/dist/lib/xcsinc.c            up to 1.1.1.2
	external/mit/expat/dist/lib/xmlparse.c          up to 1.14
	external/mit/expat/dist/lib/xmlrole.c           up to 1.1.1.9
	external/mit/expat/dist/lib/xmlrole.h           up to 1.1.1.6
	external/mit/expat/dist/lib/xmltok.c            up to 1.10
	external/mit/expat/dist/lib/xmltok.h            up to 1.7
	external/mit/expat/dist/lib/xmltok_impl.c       up to 1.10
	external/mit/expat/dist/lib/xmltok_impl.h       up to 1.1.1.5
	external/mit/expat/dist/lib/xmltok_ns.c         up to 1.1.1.5
	external/mit/expat/dist/tests/Makefile.am       up to 1.1.1.5
	external/mit/expat/dist/tests/acc_tests.c       up to 1.1.1.3
	external/mit/expat/dist/tests/acc_tests.h       up to 1.1.1.2
	external/mit/expat/dist/tests/alloc_tests.c     up to 1.1.1.4
	external/mit/expat/dist/tests/alloc_tests.h     up to 1.1.1.2
	external/mit/expat/dist/tests/basic_tests.c     up to 1.1.1.4
	external/mit/expat/dist/tests/basic_tests.h     up to 1.1.1.2
	external/mit/expat/dist/tests/chardata.c        up to 1.1.1.8
	external/mit/expat/dist/tests/chardata.h        up to 1.1.1.4
	external/mit/expat/dist/tests/common.c          up to 1.1.1.5
	external/mit/expat/dist/tests/common.h          up to 1.1.1.3
	external/mit/expat/dist/tests/dummy.c           up to 1.1.1.2
	external/mit/expat/dist/tests/dummy.h           up to 1.1.1.2
	external/mit/expat/dist/tests/handlers.c        up to 1.1.1.4
	external/mit/expat/dist/tests/handlers.h        up to 1.1.1.4
	external/mit/expat/dist/tests/memcheck.c        up to 1.1.1.6
	external/mit/expat/dist/tests/memcheck.h        up to 1.1.1.4
	external/mit/expat/dist/tests/minicheck.c       up to 1.1.1.8
	external/mit/expat/dist/tests/minicheck.h       up to 1.1.1.9
	external/mit/expat/dist/tests/misc_tests.c      up to 1.1.1.5
	external/mit/expat/dist/tests/misc_tests.h      up to 1.1.1.2
	external/mit/expat/dist/tests/ns_tests.c        up to 1.1.1.2
	external/mit/expat/dist/tests/ns_tests.h        up to 1.1.1.2
	external/mit/expat/dist/tests/nsalloc_tests.c   up to 1.1.1.3
	external/mit/expat/dist/tests/nsalloc_tests.h   up to 1.1.1.2
	external/mit/expat/dist/tests/runtests.c        up to 1.1.1.8
	external/mit/expat/dist/tests/structdata.c      up to 1.1.1.5
	external/mit/expat/dist/tests/structdata.h      up to 1.1.1.3
	external/mit/expat/dist/tests/xmltest.sh        up to 1.8
	external/mit/expat/dist/win32/build_expat_iss.bat up to 1.1.1.5
	external/mit/expat/dist/win32/expat.iss         up to 1.1.1.12
	external/mit/expat/dist/xmlwf/codepage.c        up to 1.1.1.6
	external/mit/expat/dist/xmlwf/codepage.h        up to 1.1.1.4
	external/mit/expat/dist/xmlwf/ct.c              up to 1.1.1.4
	external/mit/expat/dist/xmlwf/filemap.h         up to 1.1.1.6
	external/mit/expat/dist/xmlwf/readfilemap.c     up to 1.1.1.8
	external/mit/expat/dist/xmlwf/unixfilemap.c     up to 1.1.1.7
	external/mit/expat/dist/xmlwf/win32filemap.c    up to 1.1.1.7
	external/mit/expat/dist/xmlwf/xmlfile.c         up to 1.1.1.9
	external/mit/expat/dist/xmlwf/xmlfile.h         up to 1.1.1.5
	external/mit/expat/dist/xmlwf/xmlmime.c         up to 1.1.1.4
	external/mit/expat/dist/xmlwf/xmlmime.h         up to 1.1.1.4
	external/mit/expat/dist/xmlwf/xmltchar.h        up to 1.1.1.4
	external/mit/expat/dist/xmlwf/xmlwf.c           up to 1.1.1.11
	external/mit/expat/dist/xmlwf/xmlwf_helpgen.py  up to 1.1.1.6
	external/mit/expat/dist/xmlwf/xmlwf_helpgen.sh  up to 1.1.1.3
	doc/3RDPARTY					(apply patch)

Update expat to 2.8.5.
@
text
@a0 41
/* Tests related to the hash tables used inside Expat
                            __  __            _
                         ___\ \/ /_ __   __ _| |_
                        / _ \\  /| '_ \ / _` | __|
                       |  __//  \| |_) | (_| | |_
                        \___/_/\_\ .__/ \__,_|\__|
                                 |_| XML parser

   Copyright (c) 2026 Sebastian Pipping <sebastian@@pipping.org>
   Licensed under the MIT license:

   Permission is  hereby granted,  free of charge,  to any  person obtaining
   a  copy  of  this  software   and  associated  documentation  files  (the
   "Software"),  to  deal in  the  Software  without restriction,  including
   without  limitation the  rights  to use,  copy,  modify, merge,  publish,
   distribute, sublicense, and/or sell copies of the Software, and to permit
   persons  to whom  the Software  is  furnished to  do so,  subject to  the
   following conditions:

   The above copyright  notice and this permission notice  shall be included
   in all copies or substantial portions of the Software.

   THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY  OF  ANY  KIND,
   EXPRESS  OR IMPLIED,  INCLUDING  BUT  NOT LIMITED  TO  THE WARRANTIES  OF
   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
   NO EVENT SHALL THE AUTHORS OR  COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
   DAMAGES OR  OTHER LIABILITY, WHETHER  IN AN  ACTION OF CONTRACT,  TORT OR
   OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
   USE OR OTHER DEALINGS IN THE SOFTWARE.

   SPDX-License-Identifier: MIT
*/

#ifndef XML_HASH_TESTS_H
#define XML_HASH_TESTS_H

#include "minicheck.h"

extern void make_hash_test_case(Suite *s);

#endif /* XML_HASH_TESTS_H */
@


