]> git.kaiwu.me - haproxy.git/commit
REGTESTS: stick-table: cover the remaining gpc and gpt spellings
authorWilly Tarreau <w@1wt.eu>
Tue, 22 Sep 2026 19:44:08 +0000 (19:44 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 15:25:37 +0000 (17:25 +0200)
commit326f072fbf8d7d52d21b5503c4eb936f21fa2139
treee484d9dc734590457c5aa5edcaf4fc8117e32398
parent6accb03ef94da4dafc449794276bb86d692bc93b
REGTESTS: stick-table: cover the remaining gpc and gpt spellings

Thirteen spellings of the general purpose counters were still left out
of this test: the legacy sc1_ and sc2_ increments and clears, the sc1_
readers, sc0_inc_gpc0, sc0_clr_gpc0, sc_inc_gpc1(), sc_clr_gpc1() and
the generic sc_clr_gpc() of the array form, plus the whole src_inc_gpc*
and src_clr_gpc* family which the notes listed as a follow-up.

The first frontend cannot host them: its sc1 tracks the array table,
which the legacy fetches do not accept, and its counters already carry
the values the existing clients assert. A second frontend therefore
tracks one legacy table through its three counters, which makes the
aliasing visible since an increment through one of them is read back
through the other two, and a third frontend, whose counter tracks an
array table, is only there for the generic clear of the array form.
reg-tests/stick-table/sc_gpc_gpt.vtc