summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nathan Chandrasekar2026-10-17 20:14:17 -0400
committerGravatar Nikias Bassen2026-11-05 23:46:59 +0100
commit70a64c23c9d77b114dcc71e70e69aa8868693f3f (patch)
treea2241d7e9d25cdedbb01cc9c4dbfd766ec6bbce8 /test/Makefile.am
parent86def304f2915a13170bd0ff7adf0816ab3178a6 (diff)
downloadlibplist-70a64c23c9d77b114dcc71e70e69aa8868693f3f.tar.gz
libplist-70a64c23c9d77b114dcc71e70e69aa8868693f3f.tar.bz2
test: Add binary plist parser behavior tests
Build small binary plists in memory and check that arrays and dicts parse correctly with 1, 2 and 3 byte object references, and that strings, extended size markers and array/dict references extending beyond the object data area into the offset table are rejected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 76d2373..1d98349 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -14,7 +14,8 @@ noinst_PROGRAMS = \
plist_btest \
plist_jtest \
plist_otest \
- xml_behavior_test
+ xml_behavior_test \
+ bplist_behavior_test
plist_cmp_SOURCES = plist_cmp.c
plist_cmp_LDADD = \
@@ -42,6 +43,9 @@ 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
+bplist_behavior_test_SOURCES = bplist_behavior_test.c
+bplist_behavior_test_LDADD = $(top_builddir)/src/libplist-2.0.la
+
TESTS = \
empty.test \
small.test \
@@ -85,6 +89,7 @@ TESTS = \
ostep-comments.test \
ostep-invalid-types.test \
xml_behavior.test \
+ bplist_behavior.test \
plistutil-streams.test
EXTRA_DIST = \