[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, Thu May 16 11:07:06 2024 UTC (4 months ago) by tomglok
Branch point for: MAIN

Initial revision

# 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"
}