REGTESTS: server: fix agent-check syntax and expectation
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Aug 2021 09:28:15 +0000 (11:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Aug 2021 09:28:15 +0000 (11:28 +0200)
commit3b2533fa1a48ce2f7995b963379b964661d4c489
tree7cf5ddf22cae4d935eeb366e7496027a4799267d
parent1713eec36d347e7e7d6208980f0abd2db8d1cd81
REGTESTS: server: fix agent-check syntax and expectation

Since commit 8d6c6bd ("Leak-plugging on barriers") VTest has become
stricter in its expectations, making this one fail. The agent-check
test was expecting a close on the server, which normally does not
happen before the server responds. In addition, it was really sending
"hello" (with the quotes) due to the config file syntax, which explains
why test test log reported that '"hell' was received, and complained
that 0x6f ('o') was read instead of a shutdown. This has been fixed
as well by using single-quotes.

There is no need to backport this test as it's only in 2.5.
reg-tests/server/cli_add_check_server.vtc