]> git.ipfire.org Git - thirdparty/squid.git/commit
Maintenance: Check for expected squid-conf-tests notifications (#1231)
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 16 Jan 2023 23:24:41 +0000 (23:24 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 16 Jan 2023 23:24:48 +0000 (23:24 +0000)
commit2bbaef0eb25170687fc191b20bd8e149e5d24729
treef87f3d1b0eea0e60b51f60a81a567fd2ad603f6f
parent6896d955faaaa491a801017e43aeb3d52cb57781
Maintenance: Check for expected squid-conf-tests notifications (#1231)

Sometimes, Squid must accept a configuration file while also logging a
WARNING or even an ERROR message. The new "expect-message" test case
instruction tells test-suite/test-squid-conf.sh to check for a given
expected message while still expecting configuration acceptance.

Two test cases (mgr_passwd.conf and time_units.conf) were enhanced. We
plan to use this feature in future tests already under development.
test-suite/squidconf/mgr_passwd.conf.instructions [new file with mode: 0644]
test-suite/squidconf/time_units.conf.instructions [new file with mode: 0644]
test-suite/test-squid-conf.sh