blob: dd6c6205fa219aa42ffd456a484aad7123a74cf4 [file] [log] [blame]
William Lallemandcd482772019-10-01 17:53:58 +02001varnishtest "Show info of process 3"
2
3#REQUIRE_VERSION=1.9
4
5feature ignore_unknown_macro
6
7# Do nothing. Is there only to create s1_* macros
8server s1 {
9} -start
10
Jerome Magnin1dccfbeb2019-10-30 18:27:45 +010011haproxy h1 -W -S -conf {
William Lallemandcd482772019-10-01 17:53:58 +020012 global
13 nbproc 4
14 defaults
15 mode http
16 ${no-htx} option http-use-htx
17 timeout connect 1s
18 timeout client 1s
19 timeout server 1s
20
21 frontend myfrontend
22 bind "fd@${my_fe}"
23 default_backend test
24
25 backend test
26 server www1 ${s1_addr}:${s1_port}
27} -start
28
29haproxy h1 -mcli {
30 send "@3 show info"
31 expect ~ ".*\nProcess_num: 3\n.*"
32} -wait