aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-07-11 23:43:13 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-07-11 23:47:48 +0200
commitd582c272a6782a28d9f14547b19564a2292e2a80 (patch)
tree8bf5f74f3bdb044a2fa3262e89cbfcd709c7b00a /tests
parent4dc3a57718d8fbefde9e7d4be4db9db105291d16 (diff)
tests: adjust for capitalization differences in newer gnutls-serv
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test3205
-rwxr-xr-xtests/runtests.pl2
2 files changed, 4 insertions, 3 deletions
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
<HTML><BODY>
-<CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GNUTLS</a></H1></CENTER>
+<CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GnuTLS</a></H1></CENTER>
<p>Session ID: <i>003030000100000001000000000000000030330001000000B062410001000000</i></p>
@@ -64,7 +64,7 @@ Content-type: text/html
<HTML><BODY>
-<CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GNUTLS</a></H1></CENTER>
+<CENTER><H1>This is <a href="http://www.gnu.org/software/gnutls">GnuTLS</a></H1></CENTER>
@@ -89,6 +89,7 @@ Accept: */*
s/^<p>Session ID:.*//
s/^<hr><P>Your HTTP header was:<PRE>.*/<PRE>/
s/Protocol version:.*[0-9]//
+s/GNUTLS/GnuTLS/
</stripfile>
</verify>
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+<FILE>;
close(FILE);
if($pid > 0) {