Commit 6bb9bcec authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Test more of varnishtop

parent 4eac99e8
......@@ -31,7 +31,12 @@ shell -match "1\\.00 RespHeader Date\\n" {
shell -match "Usage: .*varnishtop <options>" \
"varnishtop -h"
shell -expect "Copyright (c) 2006 Verdens Gang AS" \
"varnishtop -V"
shell -err -match "Usage: .*varnishtop <options>" \
"varnishtop extra"
shell -err -match "is not a number" \
"varnishtop -p ABC"
......@@ -9,8 +9,6 @@ varnish v1 -vcl+backend {} -start
process p1 -dump {varnishtop -n ${v1_name}} -start
process p1 -winsz 30 80
process p1 -expect-text 1 1 {list length}
delay 1
......@@ -20,5 +18,20 @@ client c1 {
rxresp
} -run
process p1 -expect-text 0 0 {Fetch_Body}
varnish v1 -vsl_catchup
process p1 -expect-text 1 1 {list length 64}
process p1 -writehex 0c
process p1 -need-bytes +1
process p1 -writehex 0b
process p1 -need-bytes +1
process p1 -winsz 30 80
process p1 -need-bytes +1
process p1 -screen_dump -write {q} -wait
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment