dbus/test/data
Simon McVittie d633016f73 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>
2022-10-05 10:24:22 +01:00
..
auth test: Add basic test coverage for DBUS_COOKIE_SHA1 2019-06-09 13:08:53 +01:00
equiv-config-files 2005-01-18 Havoc Pennington <hp@redhat.com> 2005-01-18 20:42:15 +00:00
installable test/data: Generate a separate installable set of data files 2022-07-13 20:36:13 +01:00
invalid-config-files Add more test coverage for config file parsing 2018-08-30 17:39:41 +01:00
invalid-messages test/data: Add messages that reproduce dbus/dbus#413, dbus/dbus#418 2022-10-05 10:24:22 +01:00
invalid-service-files-system .gitignore: Make match patterns more specific 2018-12-14 12:53:08 +00:00
sha-1 2003-02-22 Havoc Pennington <hp@pobox.com> 2003-02-22 17:29:48 +00:00
systemd-activation test: activation tests for send_destination_prefix 2019-05-14 10:31:13 +02:00
valid-config-files Add a test application for autostart on Windows implementation 2022-06-27 15:34:23 +02:00
valid-config-files-system valid-config-files-system .gitignore: Don't ignore many-rules.conf 2018-12-14 12:53:08 +00:00
valid-service-files .gitignore: Make match patterns more specific 2018-12-14 12:53:08 +00:00
valid-service-files-system .gitignore: Make match patterns more specific 2018-12-14 12:53:08 +00:00
copy_data_for_tests.py build: Add machine-readable licensing markers to the Meson build system 2022-07-13 20:36:13 +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
meson.build test/data: Add messages that reproduce dbus/dbus#413, dbus/dbus#418 2022-10-05 10:24:22 +01:00