Commit 66c12d8f authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Add grouping and and/or precedence tests

parent 7b4e6cbf
......@@ -148,3 +148,17 @@ logexpect l1 -d 1 -g vxid -q "RespStatus == 404 or !RespStatus ~ '^404$'" {
expect * = ReqEnd
expect * = End
} -run
# Test grouping
logexpect l1 -d 1 -g vxid -q "(RespStatus == 200 or RespStatus == 404) and RespStatus == 200" {
expect 0 * Begin req
expect * = ReqEnd
expect * = End
} -run
# Test and/or precedence
logexpect l1 -d 1 -g vxid -q "RespStatus == 200 or RespStatus == 503 and RespStatus == 404" {
expect 0 * Begin req
expect * = ReqEnd
expect * = End
} -run
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