From 0cad2714820acde65b3d1fa675323a086cf09e4b Mon Sep 17 00:00:00 2001 From: yiwenxiu Date: Tue, 18 Mar 2025 18:24:37 +0800 Subject: [PATCH] feat(openthread): fix ci avahi service cases issue --- examples/openthread/ot_ci_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/openthread/ot_ci_function.py b/examples/openthread/ot_ci_function.py index 6cd68793d1..a5eb190f65 100644 --- a/examples/openthread/ot_ci_function.py +++ b/examples/openthread/ot_ci_function.py @@ -387,7 +387,7 @@ def open_host_interface() -> None: def get_domain() -> str: hostname = socket.gethostname() print('hostname is: ', hostname) - command = 'ps -aux | grep avahi-daemon | grep running' + command = 'ps -auxww | grep avahi-daemon | grep running' out_str = subprocess.getoutput(command) print('avahi status:\n', out_str) role = re.findall(r'\[([\w\W]+)\.local\]', str(out_str))[0]