summaryrefslogtreecommitdiffstats
path: root/test/data/valid-config-files-system
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2007-07-24 12:48:45 +0000
committerRichard Hughes <richard@hughsie.com>2007-07-24 12:48:45 +0000
commit5cfa0506c250b018c4aefd35bc49221ce7b4ad26 (patch)
tree2c457abb6b60f632c1302e41ae706021056bfffd /test/data/valid-config-files-system
parentc9a0a9373300e3acdad7321e01e0629fa8651ddd (diff)
2007-07-24 Richard Hughes <richard@hughsie.com>
* configure.in: * test/Makefile.am: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoExec.service.in: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoService.service.in: * test/data/invalid-service-files-system/org.freedesktop.DBus.TestS uiteNoUser.service.in: * test/data/valid-config-files-system/debug-allow-all-fail.conf.in: * test/data/valid-config-files-system/debug-allow-all-pass.conf.in: * test/data/valid-config-files/debug-allow-all-sha1.conf.in: * test/data/valid-config-files/debug-allow-all.conf.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teEchoService.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teSegfaultService.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teShellEchoServiceFail.service.in: * test/data/valid-service-files-system/org.freedesktop.DBus.TestSui teShellEchoServiceSuccess.service.in: * test/data/valid-service-files/debug-echo.service.in: * test/data/valid-service-files/debug-segfault.service.in: * test/data/valid-service-files/debug-shell-echo-fail.service.in: * test/data/valid-service-files/debug-shell-echo-success.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoS ervice.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfa ultService.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell EchoServiceFail.service.in: * test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShell EchoServiceSuccess.service.in: Add the data files needed by the system activation unit checks.
Diffstat (limited to 'test/data/valid-config-files-system')
-rw-r--r--test/data/valid-config-files-system/debug-allow-all-fail.conf.in17
-rw-r--r--test/data/valid-config-files-system/debug-allow-all-pass.conf.in17
2 files changed, 34 insertions, 0 deletions
diff --git a/test/data/valid-config-files-system/debug-allow-all-fail.conf.in b/test/data/valid-config-files-system/debug-allow-all-fail.conf.in
new file mode 100644
index 00000000..93a548ce
--- /dev/null
+++ b/test/data/valid-config-files-system/debug-allow-all-fail.conf.in
@@ -0,0 +1,17 @@
+<!-- Bus that listens on a debug pipe and doesn't create any restrictions -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <listen>debug-pipe:name=test-server</listen>
+ <listen>unix:tmpdir=@TEST_SOCKET_DIR@</listen>
+ <type>system</type>
+ <servicehelper>@TEST_LAUNCH_HELPER_BINARY@</servicehelper>
+ <servicedir>@TEST_INVALID_SERVICE_SYSTEM_DIR@</servicedir>
+ <policy context="default">
+ <allow send_interface="*"/>
+ <allow receive_interface="*"/>
+ <allow own="*"/>
+ <allow user="*"/>
+ </policy>
+</busconfig>
diff --git a/test/data/valid-config-files-system/debug-allow-all-pass.conf.in b/test/data/valid-config-files-system/debug-allow-all-pass.conf.in
new file mode 100644
index 00000000..5b7ffd1a
--- /dev/null
+++ b/test/data/valid-config-files-system/debug-allow-all-pass.conf.in
@@ -0,0 +1,17 @@
+<!-- Bus that listens on a debug pipe and doesn't create any restrictions -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+ <listen>debug-pipe:name=test-server</listen>
+ <listen>unix:tmpdir=@TEST_SOCKET_DIR@</listen>
+ <type>system</type>
+ <servicehelper>@TEST_LAUNCH_HELPER_BINARY@</servicehelper>
+ <servicedir>@TEST_VALID_SERVICE_SYSTEM_DIR@</servicedir>
+ <policy context="default">
+ <allow send_interface="*"/>
+ <allow receive_interface="*"/>
+ <allow own="*"/>
+ <allow user="*"/>
+ </policy>
+</busconfig>