From ecfafdc42e5a9c4f103ae8543096bdeb50d6a8f5 Mon Sep 17 00:00:00 2001 From: Dayanidhi Singla Date: Thu, 25 Jun 2026 12:43:02 +0530 Subject: [PATCH] ci: 065-upnp_0.t: match port 5351 exactly Avoid matching ports like :53515 when checking for :5351. References: PPW-1995 Signed-off-by: Dayanidhi Singla --- .../cram/generic/acceleration-plan-components/065-upnp_0.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/tests/cram/generic/acceleration-plan-components/065-upnp_0.t b/.gitlab/tests/cram/generic/acceleration-plan-components/065-upnp_0.t index a6cfdaf9bf..732df6d79e 100644 --- a/.gitlab/tests/cram/generic/acceleration-plan-components/065-upnp_0.t +++ b/.gitlab/tests/cram/generic/acceleration-plan-components/065-upnp_0.t @@ -29,7 +29,7 @@ Check that miniupnpd is enabled and running by default: udp 0 0 0.0.0.0:1900 0.0.0.0:\* .*\/miniupnpd (re) udp 0 0 :::1900 :::\* .*\/miniupnpd (re) - $ R "netstat -tulpn 2>&1 | grep miniupnpd | grep \:5351" + $ R "netstat -tulpn 2>&1 | grep miniupnpd | grep -E ':5351[[:space:]]'" udp 0 0 192.168.1.1:5351 0.0.0.0:\* .*\/miniupnpd (re) udp 0 0 :::5351 :::\* .*\/miniupnpd (re) @@ -78,7 +78,7 @@ Check that miniupnpd is enabled and running again: udp 0 0 0.0.0.0:1900 0.0.0.0:\* .*\/miniupnpd (re) udp 0 0 :::1900 :::\* .*\/miniupnpd (re) - $ R "netstat -tulpn 2>&1 | grep miniupnpd | grep \:5351" + $ R "netstat -tulpn 2>&1 | grep miniupnpd | grep -E ':5351[[:space:]]'" udp 0 0 192.168.1.1:5351 0.0.0.0:\* .*\/miniupnpd (re) udp 0 0 :::5351 :::\* .*\/miniupnpd (re)