Skip to content
Snippets Groups Projects
Commit 47e3b8e4 authored by Simon McVittie's avatar Simon McVittie Committed by Sjoerd Simons
Browse files

dbus-dos-match-rules: call GetAllMatchRules, not GetConnectionMatchRules

The method was renamed when this feature was merged upstream.

Differential Revision: https://phabricator.apertis.org/D362
Reviewed-by: pwith
parent 59e71588
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ bus_iface = dbus.Interface(remote_object, "org.freedesktop.DBus")
stats_iface = dbus.Interface(remote_object, "org.freedesktop.DBus.Debug.Stats")
try:
match_rules = stats_iface.GetConnectionMatchRules()
match_rules = stats_iface.GetAllMatchRules()
except:
print("GetConnectionMatchRules failed: did you enable the Stats interface?")
print("GetAllMatchRules failed: did you enable the Stats interface?")
print(" <interface>org.freedesktop.DBus.Debug.Stats</interface>")
sys.exit(1)
......
......@@ -14,6 +14,8 @@ apertis-tests (1:0.20150814.2) UNRELEASED; urgency=medium
(certain failures are currently marked as expected, with bugs opened)
- verify that a non-systemd-activated D-Bus service cannot be activated
(marked as an expected failure until T282 is completed)
* dbus-dos-match-rules: call GetAllMatchRules, not GetConnectionMatchRules.
The method was renamed when this feature was merged upstream.
-- Simon McVittie <simon.mcvittie@collabora.co.uk> Tue, 25 Aug 2015 11:35:18 +0100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment