dbus/test/data
Simon McVittie b9f914fa27 test/data: Add messages that reproduce dbus/dbus#413, dbus/dbus#418
In debug builds with "embedded tests" enabled, these will automatically
be used as input for the message-internals test.

Some of the messages themselves are output from a fuzzer, others are
simplifications to include only one reason for lack of validity per
message.

I've included an annotated hex-dump for each message here, but the dbus
test suite doesn't currently know how to convert hex to binary, so I've
also committed the corresponding binary. See the comment at the top of
each hex-dump for how to create the binary version (which requires the
xxd tool shipped with vim).

It would be nice for the dbus test suite to be able to convert the
annotated hex-dump to binary, either at build-time with a Python script
or at runtime by loading the text file and decoding the hex, but I don't
want to block on that for dbus/dbus#413 and dbus/dbus#418.

Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/413
Reproduces: https://gitlab.freedesktop.org/dbus/dbus/-/issues/418
Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit d633016f73)
[backport to 1.14.x: discard Meson build system updates]
(cherry picked from commit c0bfcc0978)
[backport to 1.12.x: resolve conflicts vs. Autotools before 09076dfe]
2022-10-05 10:46:27 +01:00
..
auth test: Add basic test coverage for DBUS_COOKIE_SHA1 2019-06-09 13:08:49 +01:00
equiv-config-files 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 20:42:15 +00:00
incomplete-messages 2003-09-21 Mark McLoughlin <mark@skynet.ie> 2003-09-21 18:43:20 +00:00
invalid-config-files test/data: Test impossible send_broadcast/send_destination pair 2017-09-25 13:37:57 +01:00
invalid-messages test/data: Add messages that reproduce dbus/dbus#413, dbus/dbus#418 2022-10-05 10:46:27 +01:00
invalid-service-files-system Simplify substitution of test executables to use fewer variables 2011-09-28 19:00:49 +01:00
sha-1 2003-02-22 Havoc Pennington <hp@pobox.com> 2003-02-22 17:29:48 +00:00
systemd-activation Activation test: exercise what happens with nonexistent AppArmor labels 2016-11-28 12:11:56 +00:00
valid-config-files Add a unit test for the dbus-daemon resetting its fd limit 2018-02-20 18:42:53 +00:00
valid-config-files-system Test system bus config files on Unix only 2015-11-03 14:22:30 +01:00
valid-messages 2004-06-07 Havoc Pennington <hp@redhat.com> 2004-06-07 19:27:51 +00:00
valid-service-files Simplify substitution of test executables to use fewer variables 2011-09-28 19:00:49 +01:00
valid-service-files-system Simplify substitution of test executables to use fewer variables 2011-09-28 19:00:49 +01:00
dbus-installed-tests.aaprofile.in AppArmor test: Allow writing to our temporary XDG_RUNTIME_DIR 2017-04-18 12:45:16 +01:00