# HG changeset patch # User Boris Feld # Date 2017-11-05 07:23:53 # Node ID 7f0c9e28a8165258542ecf8728c3cb6ff83bb39e # Parent c4ec72a107985fae740f7b2cecf40cacf56bf2db test-pattern: substitute the HTTP log timestamp too We add a pattern matching the infamous timestamp in http log. Now, we should be able to have change appears in https log without having to re-glob the whole thing over and over. diff --git a/tests/common-pattern.py b/tests/common-pattern.py --- a/tests/common-pattern.py +++ b/tests/common-pattern.py @@ -32,4 +32,8 @@ substitutions = [ # (replacement patterns) br'$USUAL_BUNDLE2_CAPS$' ), + # HTTP log dates + (br' - - \[\d\d/.../2\d\d\d \d\d:\d\d:\d\d] "GET', + br' - - [$LOGDATE$] "GET' + ), ]