REGTESTS: add minimal CLI "add map" tests
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Apr 2021 14:17:23 +0000 (16:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 May 2021 05:56:36 +0000 (07:56 +0200)
commit6864ddd0ac20b9bc1d72a6639a77dfab81c68a44
treee5b52f85c9f0da8c93361c5ef9171ae2589e9230
parente1f55742e0512e42ba9bf37233de8af38eb49968
REGTESTS: add minimal CLI "add map" tests

The map_redirect test already tests for "show map", "del map" and
"clear map" but doesn't have any "add map" command. Let's add some
trivial ones involving one regular entry and two other ones added as
payload, checking they are properly returned.

(cherry picked from commit deee369cfabdea713e232c94c5d15f9613109fe9)
Signed-off-by: Willy Tarreau <w@1wt.eu>
reg-tests/http-rules/map_redirect.vtc