mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 01:40:27 +00:00
SSL test server: Use port 6790, like "test server #2"
Don't use the "standard" IRC SSL port 6697, as this easily collides with real (ng)IRCd instances running on the same machine. And by reusing port 6790, which is already used by the "test server #2", we don't need any other port than the test suite already uses.
This commit is contained in:
parent
db88b92c8a
commit
21f33e5911
@ -1,7 +1,7 @@
|
||||
# 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.first.domain.tld"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# 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"
|
||||
|
@ -13,7 +13,7 @@
|
||||
CertFile = ssl/cert.pem
|
||||
KeyFile = ssl/key.pem
|
||||
DHFile = ssl/dhparams.pem
|
||||
Ports = 6697
|
||||
Ports = 6790
|
||||
|
||||
|
||||
[Limits]
|
||||
|
Loading…
Reference in New Issue
Block a user