From: Daniel Stenberg
Date: Thu, 4 Oct 2018 13:34:13 +0000 (+0200)
Subject: test320: strip out more HTML when comparing
X-Git-Tag: curl-7_62_0~105
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94ad57b0246b5658c2a9139dbe6a80efa4c4e2f3;p=curl
test320: strip out more HTML when comparing
To make the test case work with different gnutls-serv versions better.
Reported-by: Kamil Dudka
Fixes #3093
Closes #3094
---
diff --git a/tests/data/test320 b/tests/data/test320
index 457a11eb2..87311d4f2 100644
--- a/tests/data/test320
+++ b/tests/data/test320
@@ -62,34 +62,18 @@ simple TLS-SRP HTTPS GET, check user in response
HTTP/1.0 200 OK
Content-type: text/html
-
-
-
-
-
-
-If your browser supports session resuming, then you should see the same session ID, when you press the reload button.
-Connected as user 'jsmith'.
-
-
|
-Key Exchange: | SRP |
-Compression | NULL |
-Cipher | AES-NNN-CBC |
-MAC | SHA1 |
-Ciphersuite | SRP_SHA_AES_NNN_CBC_SHA1 |
-
Your HTTP header was:
Host: %HOSTIP:%HTTPTLSPORT
+FINE
User-Agent: curl-test-suite
Accept: */*
-
-
-
-s/^Session ID:.*//
+s/^
Connected as user 'jsmith'.*/FINE/
s/Protocol version:.*[0-9]//
s/GNUTLS/GnuTLS/
s/(AES[-_])\d\d\d([-_]CBC)/$1NNN$2/
+s/^<.*\n//
+s/^\n//