[BACK]Return to connect-ssl-cert2-test.e CVS log [TXT][DIR] Up to [local] / ircnowd / src / testsuite

File: [local] / ircnowd / src / testsuite / connect-ssl-cert2-test.e (download)

Revision 1.1.1.1 (vendor branch), Fri May 7 10:46:34 2021 UTC (3 years, 2 months ago) by bountyht
Branch: ngircd, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines

Initial import from ngIRCd 26.1

# ngIRCd test suite
# Server connect test

spawn openssl s_client -quiet -connect 127.0.0.1:6790
expect {
        timeout { exit 1 }
        "*CN = my.second.domain.tld"
}

sleep 2
send "oper\r"
expect {
	timeout { exit 1 }
	"451"
}

send "quit\r"
expect {
	timeout { exit 1 }
	"Connection closed"
}