summaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-12 18:32:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-12 18:32:11 +0000
commitbc983ecf15455f49e7a92d038c93e181ae2cb438 (patch)
treed53948dab970d81f07e195513804945b87a758e8 /test/data
parent4b773b4a5448ac9bea2cc57486571588fdc14480 (diff)
2003-04-12 Havoc Pennington <hp@pobox.com>
* bus/policy.h: change BusPolicy to be the thing from the config file, and rename old BusPolicy to BusClientPolicy * bus/bus.c, bus/connection.c, bus/config-parser.c: change to match change in how policy works * dbus/dbus-internals.h: mark assert_not_reached as __attribute((noreturn))__
Diffstat (limited to 'test/data')
-rw-r--r--test/data/valid-config-files/entities.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/data/valid-config-files/entities.conf b/test/data/valid-config-files/entities.conf
new file mode 100644
index 00000000..3d3cea79
--- /dev/null
+++ b/test/data/valid-config-files/entities.conf
@@ -0,0 +1,14 @@
+<!-- This config file contains XML entities -->
+<!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/&lt;bar&gt;</listen>
+ <listen>tcp:port=1234</listen>
+ <includedir>basic.&#100;</includedir>
+ <servicedir>/usr/&amp;share/foo</servicedir>
+ <include ignore_missing="ye&#115;">nonexistent.conf&#110;</include>
+ <policy context="&#100;efault">
+ <allow user="*"/>
+ </policy>
+</busconfig>