From: Christopher Faulet Date: Mon, 1 Apr 2019 13:39:50 +0000 (+0200) Subject: REGTEST: lua/b00003: Specify the HAProxy pid when the command ss is executed X-Git-Tag: v2.0-dev3~332 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce4ec5039fb9ff598861a714653ba2f5fcd79f54;p=thirdparty%2Fhaproxy.git REGTEST: lua/b00003: Specify the HAProxy pid when the command ss is executed This avoids confusions with any other haproxy process. --- 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 $((!$?)) }