1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-10-25 02:57:38 +00:00

updating testsuite to support ssl-tests

This commit is contained in:
Johann Hartwig Hauschild
2020-04-25 00:04:38 +02:00
parent 86f3c563d6
commit 11ea6a5070
19 changed files with 736 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
# ngIRCd test suite
# Server connect test
spawn openssl s_client -quiet -connect 127.0.0.1:6697
expect {
timeout { exit 1 }
"*CN = my.first.domain.tld"
}
sleep 2
send "oper\r"
expect {
timeout { exit 1 }
"451"
}
send "quit\r"
expect {
timeout { exit 1 }
"Connection closed"
}