diff options
author | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-07-29 08:00:45 +0000 |
---|---|---|
committer | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-07-29 08:00:45 +0000 |
commit | 4076d31c71bee332c4a697597a93345b45850b33 (patch) | |
tree | b9526969be83df9ddd5ae4f9584410d0ffecf643 /test/data | |
parent | b72fe8c67d724d0f4637714a72e4e91c9487349f (diff) |
* bus/config-loader-libxml.c: complete the implementation of libxml
backend for config file loader. Doesn't work with full OOM test yet.
* configure.in: change error when selecting libxml into a warning.
* test/data/invalid-config-files: add two non-well-formed XML files.
* glib/Makefile.am: libdbus_gtool always uses expat, not libxml.
* dbus/dbus-transport-unix.c (unix_handle_watch): do not disconnect in
case of DBUS_WATCH_HANGUP, several do_reading() may be necessary to
read all the buffer. (bug #894)
* bus/activation.c (bus_activation_activate_service): fix a potential
assertion failure (bug #896). Small optimization in the case of
auto-activation messages.
* dbus/dbus-message.c (verify_test_message, _dbus_message_test): add
test case for byte-through-vararg bug (#901). patch by Kimmo
Hämäläinen.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/invalid-config-files/not-well-formed.conf | 5 | ||||
-rw-r--r-- | test/data/invalid-config-files/truncated-file.conf | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/data/invalid-config-files/not-well-formed.conf b/test/data/invalid-config-files/not-well-formed.conf new file mode 100644 index 00000000..9e59cbc0 --- /dev/null +++ b/test/data/invalid-config-files/not-well-formed.conf @@ -0,0 +1,5 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <user>mybususer</foo> +</busconfig> diff --git a/test/data/invalid-config-files/truncated-file.conf b/test/data/invalid-config-files/truncated-file.conf new file mode 100644 index 00000000..e8d60883 --- /dev/null +++ b/test/data/invalid-config-files/truncated-file.conf @@ -0,0 +1,9 @@ +<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <user>mybususer</user> + <listen>unix:path=/foo/bar</listen> + <listen>tcp:port=1234</listen> + <includedir>basic.d</includedir> + <servicedir>/usr/share/foo</servicedir> + <include ignore_missing="y |