]> arthur.barton.de Git - ngircd.git/blobdiff - src/testsuite/connect-ssl-cert2-test.e
Test suite: wait for ERROR message on QUIT
[ngircd.git] / src / testsuite / connect-ssl-cert2-test.e
index a4237537f26627744624d1c923f7b62a6a77d24d..0e67d75bdd6c8b9e7affb30e89bef5b12efdecef 100644 (file)
@@ -1,10 +1,10 @@
 # ngIRCd test suite
 # Server connect test
 
-spawn openssl s_client -quiet -connect 127.0.0.1:6697
+spawn openssl s_client -quiet -connect 127.0.0.1:6790
 expect {
         timeout { exit 1 }
-        "*CN = my.second.domain.tld"
+        "*CN*=*my.second.domain.tld"
 }
 
 sleep 2
@@ -17,6 +17,5 @@ expect {
 send "quit\r"
 expect {
        timeout { exit 1 }
-       "Connection closed"
+       "ERROR :Closing connection"
 }
-