From ce4ec5039fb9ff598861a714653ba2f5fcd79f54 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 1 Apr 2019 15:39:50 +0200 Subject: [PATCH] REGTEST: lua/b00003: Specify the HAProxy pid when the command ss is executed This avoids confusions with any other haproxy process. --- reg-tests/lua/b00003.vtc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg-tests/lua/b00003.vtc b/reg-tests/lua/b00003.vtc index f58229bc1d..3fd70ebc64 100644 --- a/reg-tests/lua/b00003.vtc +++ b/reg-tests/lua/b00003.vtc @@ -48,6 +48,6 @@ client c1 -connect ${h1_frt_sock} -repeat 100 { syslog Slog -wait shell { - ss -pt | grep CLOSE-WAIT.*haproxy + ss -pt | grep CLOSE-WAIT.*haproxy.*pid=${h1_pid} exit $((!$?)) } -- 2.47.3