File: missing-stats-fields.vtc

package info (click to toggle)
haproxy 3.0.11-1%2Bdeb13u2
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 22,240 kB
  • sloc: ansic: 245,617; sh: 3,343; xml: 1,756; python: 1,330; makefile: 1,106; perl: 168; cpp: 21
file content (14 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (4)
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_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)
}