From c371e9798b2f97ba07420b05526a604dd6da5602 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 8 Dec 2008 10:58:04 -0500 Subject: [PATCH] Allow DBus.Introspection and DBus.Peer by default --- bus/system.conf.in | 3 +++ test/name-test/run-test-systemserver.sh | 10 ++++++++++ test/name-test/tmp-session-like-system.conf | 5 ++++- 3 files changed, 17 insertions(+), 1 deletions(-) diff --git a/bus/system.conf.in b/bus/system.conf.in index ac2822f..8f31cc3 100644 --- a/bus/system.conf.in +++ b/bus/system.conf.in @@ -50,6 +50,9 @@ even if they aren't in here --> + + + diff --git a/test/name-test/run-test-systemserver.sh b/test/name-test/run-test-systemserver.sh index fd82326..538227a 100755 --- a/test/name-test/run-test-systemserver.sh +++ b/test/name-test/run-test-systemserver.sh @@ -39,3 +39,13 @@ if ! grep -q 'DBus.Error' echo-error-output.tmp; then echo "=====" exit 1 fi + +echo "running test-expected-echo-introspect" +${DBUS_TOP_BUILDDIR}/libtool --mode=execute $DEBUG $DBUS_TOP_BUILDDIR/tools/dbus-send --print-reply --dest=org.freedesktop.DBus.TestSuiteEchoService /org/freedesktop/TestSuite org.freedesktop.DBus.Introspectable.Introspect >echo-introspect-output.tmp 2>&1 +if ! grep -q 'DTD D-BUS Object Introspection' echo-introspect-output.tmp; then + echo "Introspection failed; output was:" + echo "=====" + cat echo-introspect-output.tmp + echo "=====" + exit 1 +fi diff --git a/test/name-test/tmp-session-like-system.conf b/test/name-test/tmp-session-like-system.conf index e483c89..261c123 100644 --- a/test/name-test/tmp-session-like-system.conf +++ b/test/name-test/tmp-session-like-system.conf @@ -25,10 +25,13 @@ - + + + -- 1.6.0.4