]> git.kaiwu.me - haproxy.git/commit
REGTESTS: don't rely on the stick-table dump order in the ipmask test
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 18 Aug 2026 12:49:03 +0000 (14:49 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 18 Aug 2026 12:43:33 +0000 (14:43 +0200)
commite66fd4bada53acf2f3e094070c8662b6c36dabd9
treecb33789d60a0ebdd54d79620c143fff053fbd007
parentc71f45a0a48b0f914f238b770631e6792f6ed917
REGTESTS: don't rely on the stick-table dump order in the ipmask test

"show table" dumps the entries bucket by bucket, so their order depends
on CONFIG_HAP_TBL_BUCKETS, which is 1 in builds without threads (e.g.
TARGET=generic) and 8 or more with them. The test hardcoded the order
seen with multiple buckets and failed on single-bucket builds.

Check the header and each of the three entries with a separate request
instead, so the order doesn't matter anymore.
reg-tests/http-rules/converters_ipmask_concat_strcmp_field_word.vtc