test-pattern: substitute the HTTP log timestamp too
authorBoris Feld <boris.feld@octobus.net>
Sun, 05 Nov 2017 08:23:53 +0100
changeset 35073 7f0c9e28a816
parent 35072 c4ec72a10798
child 35074 62e10bf001a9
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.
tests/common-pattern.py
--- a/tests/common-pattern.py	Mon Nov 13 04:59:45 2017 +0100
+++ b/tests/common-pattern.py	Sun Nov 05 08:23:53 2017 +0100
@@ -32,4 +32,8 @@
      # (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'
+    ),
 ]