summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-08-16 18:27:43 +0100
committerSimon McVittie <smcv@debian.org>2016-08-16 18:27:43 +0100
commita363822f5f58e5513e30dc2f84a30ae03cd91e07 (patch)
treef2b46cbefe735dc274dd0e4cdd6a8ac6290eb878 /test/data
parent05cb619f0a6a4c9997832cb4acbb26f7a0be66c3 (diff)
downloaddbus-a363822f5f58e5513e30dc2f84a30ae03cd91e07.tar.gz
dbus-daemon test: exercise pending fd timeout test
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'test/data')
-rw-r--r--test/data/valid-config-files/pending-fd-timeout.conf.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/data/valid-config-files/pending-fd-timeout.conf.in b/test/data/valid-config-files/pending-fd-timeout.conf.in
new file mode 100644
index 00000000..849d8852
--- /dev/null
+++ b/test/data/valid-config-files/pending-fd-timeout.conf.in
@@ -0,0 +1,20 @@
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <!-- Our well-known bus type, don't change this -->
+ <type>session</type>
+ <listen>@TEST_LISTEN@</listen>
+
+ <policy context="default">
+ <!-- Allow everything to be sent -->
+ <allow send_destination="*" eavesdrop="true"/>
+ <!-- Allow everything to be received -->
+ <allow eavesdrop="true"/>
+ <!-- Allow anyone to own anything -->
+ <allow own="*"/>
+ </policy>
+
+ <!-- 500ms -->
+ <limit name="pending_fd_timeout">500</limit>
+</busconfig>