From 6e03a1df6d1aa87c8f9e2b35f1a2ca60feca1c0e Mon Sep 17 00:00:00 2001 From: Sami Kortelainen Date: Wed, 25 Feb 2026 02:27:00 +0100 Subject: xplist: Enforce single root value inside Ensure that XML property lists contain exactly one root value inside the element and reject any additional value nodes before . Add tests covering root value handling and nested CF$UID conversion behavior. Co-authored-by: Sami Kortelainen Co-authored-by: Nikias Bassen --- test/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index a4191c4..f9f21e4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -13,7 +13,8 @@ noinst_PROGRAMS = \ integer_set_test \ plist_btest \ plist_jtest \ - plist_otest + plist_otest \ + xml_behavior_test plist_cmp_SOURCES = plist_cmp.c plist_cmp_LDADD = \ @@ -38,6 +39,9 @@ plist_jtest_LDADD = $(top_builddir)/src/libplist-2.0.la plist_otest_SOURCES = plist_otest.c plist_otest_LDADD = $(top_builddir)/src/libplist-2.0.la +xml_behavior_test_SOURCES = xml_behavior_test.c +xml_behavior_test_LDADD = $(top_builddir)/src/libplist-2.0.la + TESTS = \ empty.test \ small.test \ @@ -79,7 +83,8 @@ TESTS = \ ostep2.test \ ostep-strings.test \ ostep-comments.test \ - ostep-invalid-types.test + ostep-invalid-types.test \ + xml_behavior.test EXTRA_DIST = \ $(TESTS) \ -- cgit v1.1-32-gdbae