Return to connect-ssl-cert2-test.e CVS log | Up to [local] / ircnowd / src / testsuite |
1.1 ! tomglok 1: # ngIRCd test suite ! 2: # Server connect test ! 3: ! 4: spawn openssl s_client -quiet -connect 127.0.0.1:6790 ! 5: expect { ! 6: timeout { exit 1 } ! 7: "*CN = my.second.domain.tld" ! 8: } ! 9: ! 10: sleep 2 ! 11: send "oper\r" ! 12: expect { ! 13: timeout { exit 1 } ! 14: "451" ! 15: } ! 16: ! 17: send "quit\r" ! 18: expect { ! 19: timeout { exit 1 } ! 20: "Connection closed" ! 21: } ! 22: