From d582c272a6782a28d9f14547b19564a2292e2a80 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 11 Jul 2014 23:43:13 +0200 Subject: tests: adjust for capitalization differences in newer gnutls-serv --- tests/data/test320 | 5 +++-- tests/runtests.pl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/data/test320 b/tests/data/test320 index 89b4e141c..4f621c759 100644 --- a/tests/data/test320 +++ b/tests/data/test320 @@ -15,7 +15,7 @@ Content-type: text/html -

This is GNUTLS

+

This is GnuTLS

Session ID: 003030000100000001000000000000000030330001000000B062410001000000

@@ -64,7 +64,7 @@ Content-type: text/html -

This is GNUTLS

+

This is GnuTLS

@@ -89,6 +89,7 @@ Accept: */* s/^

Session ID:.*// s/^


Your HTTP header was:

.*/
/
 s/Protocol version:.*[0-9]//
+s/GNUTLS/GnuTLS/
 
 
 
diff --git a/tests/runtests.pl b/tests/runtests.pl
index af4609f97..810b80732 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1037,7 +1037,7 @@ sub verifyhttptls {
         close(FILE);
     }
 
-    if($data && ($data =~ /GNUTLS/) && open(FILE, "<$pidfile")) {
+    if($data && ($data =~ /(GNUTLS|GnuTLS)/) && open(FILE, "<$pidfile")) {
         $pid=0+;
         close(FILE);
         if($pid > 0) {
-- 
cgit v1.2.3