Commit 5858deaa authored by Geoff Simmons's avatar Geoff Simmons Committed by Martin Blix Grydeland

varnishtest: logexpect only attempts regex matches for matching tags

parent ee212f94
......@@ -217,6 +217,8 @@ logexp_dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[],
ok = 0;
}
if (le->test->vre &&
le->test->tag >= 0 &&
le->test->tag == tag &&
VRE_ERROR_NOMATCH == VRE_exec(le->test->vre, data,
len, 0, 0, NULL, 0, NULL))
ok = 0;
......
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