diff mbox series

auto-t: fix SignalAgent Release arguments

Message ID 20231211194120.64625-1-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series auto-t: fix SignalAgent Release arguments | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
prestwoj/iwd-alpine-ci-fetch success Fetch PR
prestwoj/iwd-ci-gitlint success GitLint
prestwoj/iwd-ci-fetch success Fetch PR
prestwoj/iwd-ci-makedistcheck success Make Distcheck
prestwoj/iwd-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-alpine-ci-makedistcheck success Make Distcheck
prestwoj/iwd-alpine-ci-incremental_build success Incremental build not run PASS
prestwoj/iwd-ci-build success Build - Configure
prestwoj/iwd-alpine-ci-build success Build - Configure
prestwoj/iwd-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-ci-makecheck success Make Check
prestwoj/iwd-ci-clang success clang PASS
prestwoj/iwd-alpine-ci-makecheckvalgrind success Make Check w/Valgrind
prestwoj/iwd-alpine-ci-makecheck success Make Check
prestwoj/iwd-ci-testrunner success test-runner PASS

Commit Message

James Prestwood Dec. 11, 2023, 7:41 p.m. UTC
The path for IWD to call this doesn't ever happen in autotests
but during debugging of the DPP agent it was noticed that the
DBus signature was incorrect and would always result in an error
when calling from IWD.
---
 autotests/util/iwd.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Denis Kenzior Dec. 13, 2023, 4:06 p.m. UTC | #1
Hi James,

On 12/11/23 13:41, James Prestwood wrote:
> The path for IWD to call this doesn't ever happen in autotests
> but during debugging of the DPP agent it was noticed that the
> DBus signature was incorrect and would always result in an error
> when calling from IWD.
> ---
>   autotests/util/iwd.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 

Applied, thanks.

Regards,
-Denis
diff mbox series

Patch

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index 3f200beb..ddd021b0 100755
--- a/autotests/util/iwd.py
+++ b/autotests/util/iwd.py
@@ -201,9 +201,9 @@  class SignalAgent(dbus.service.Object):
         return self._path
 
     @dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
-                         in_signature='', out_signature='')
-    def Release(self):
-        print("SignalAgent released")
+                         in_signature='o', out_signature='')
+    def Release(self, path):
+        print("SignalAgent released %s" % path)
 
     @dbus.service.method(IWD_SIGNAL_AGENT_INTERFACE,
                          in_signature='oy', out_signature='')