summaryrefslogtreecommitdiffstats
path: root/reg-tests/webstats/missing-stats-fields.vtc
blob: c85855d5f1b47555f254a2e725189d8e04d316b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}