changeset 35073:7f0c9e28a816

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.
author Boris Feld <boris.feld@octobus.net>
date Sun, 05 Nov 2017 08:23:53 +0100
parents c4ec72a10798
children 62e10bf001a9
files tests/common-pattern.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'
+    ),
 ]