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

15 lines
276 B
Plaintext

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