Commit e2a5eb77 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix test for wc(1) commands emitting leading whitespace.

Also fix -e -> -E I overlooked.
parent d8c5ada6
......@@ -27,6 +27,5 @@ client c1 {
rxresp
} -run
shell -match "^0$" "varnishncsa -n ${v1_name} -d -q \"requrl ~ '/esi'\" | wc -l"
shell -match "^1$" "varnishncsa -n ${v1_name} -d -q \"requrl ~ '/esi'\" -e | wc -l"
shell -match "^ *0$" {varnishncsa -n ${v1_name} -d -q "requrl ~ '/esi'" | wc -l}
shell -match "^ *1$" {varnishncsa -n ${v1_name} -d -q "requrl ~ '/esi'" -E | wc -l}
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