From afa01489e6c5301fe4afa31a4403b991313e1ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Thu, 19 Feb 2026 12:33:15 +0100 Subject: [PATCH] test: Add parameter -j to watchdogctl This is required to get the output as JSON data, since the upgrade of buildroot (and watchdogd) --- test/case/hardware/watchdog/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/case/hardware/watchdog/test.py b/test/case/hardware/watchdog/test.py index b8854536..22d279d2 100755 --- a/test/case/hardware/watchdog/test.py +++ b/test/case/hardware/watchdog/test.py @@ -23,7 +23,7 @@ with infamy.Test() as test: tgtssh = env.attach("target", "mgmt", "ssh") with test.step("Verify the presence of a watchdog device"): - wctl = tgtssh.run(["watchdogctl"], stdout=subprocess.PIPE) + wctl = tgtssh.run(["watchdogctl", "-j"], stdout=subprocess.PIPE) conf = json.loads(wctl.stdout) dogs = [ dog for dog in conf.get("device", []) if dog.get("name", "") == "/dev/watchdog" ]