[PATCH] tests: check ETag format in test-hgweb-commands

Anton Shestakov av6 at dwimlabs.net
Sat Jul 9 06:04:59 UTC 2016


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1468044115 -28800
#      Sat Jul 09 14:01:55 2016 +0800
# Node ID fb15062859ff7de8db12eb1103f9fa52af619f81
# Parent  47eb9964a1d6e545342011f4bf2574695dd87169
tests: check ETag format in test-hgweb-commands

diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -2261,7 +2261,7 @@ proper status for filtered revision
   $ QUERY_STRING='style=raw'
   $ python hgweb.cgi #> search
   Status: 404 Not Found\r (esc)
-  ETag: *\r (glob) (esc)
+  ETag: W/"*"\r (glob) (esc)
   Content-Type: text/plain; charset=ascii\r (esc)
   \r (esc)
   
@@ -2275,7 +2275,7 @@ proper status for filtered revision
   $ QUERY_STRING='style=raw'
   $ python hgweb.cgi #> search
   Status: 404 Not Found\r (esc)
-  ETag: *\r (glob) (esc)
+  ETag: W/"*"\r (glob) (esc)
   Content-Type: text/plain; charset=ascii\r (esc)
   \r (esc)
   


More information about the Mercurial-devel mailing list