summaryrefslogtreecommitdiffstats
path: root/test/data/valid-service-files
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2008-05-30 17:11:15 -0400
committerColin Walters <walters@verbum.org>2008-05-30 17:11:15 -0400
commit5e359834f28b0580e7b79a057614d4e3592709ac (patch)
tree7fcf7e5f72aa49783544010917f2d9f185415a8e /test/data/valid-service-files
parenta73a79a155e97a3bd0d3ce5001ca6b9db803eeeb (diff)
Add "PrivServer" test which exercises DBusServer and dbus_shutdown
* test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in: New service file for PrivServer. * configure.in: Generate it. * test/name-test/Makefile.am: Build test-privserver and test-privserver-client. * test/name-test/test-privserver.c: Use DBusServer to serve a private connection. * test/name-test/test-privserver-client.c: Connect via session bus and get address of private server, exercise dbus_shutdown(). * test/name-test/run-test.sh: Run it.
Diffstat (limited to 'test/data/valid-service-files')
-rw-r--r--test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in b/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in
new file mode 100644
index 00000000..2cbdaa8b
--- /dev/null
+++ b/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service.in
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=org.freedesktop.DBus.TestSuite.PrivServer
+Exec=@TEST_PRIVSERVER_BINARY@
+