haproxy/reg-tests/webstats/missing-stats-fields.vtc

15 lines
279 B
Plaintext

varnishtest "Verifies the absence of (null) in 'show stats' header"
# This can happen if a new ST_I_PX_xxx enum is added without updating
# stats_fields[].
feature ignore_unknown_macro
haproxy h1 -conf {
} -start
haproxy h1 -cli {
send "show stat"
expect !~ (null)
}