mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-05 21:30:29 +00:00
Revert "testsuite: Pass -nameopt to openssl s_client."
Although this is a nice looking solution, it is not that portable: for
example, the "openssl s_client" command of LibreSSL 3.8.2 on OpenBSD 7.4
does not support it.
So let's revert back to the "uglier" but working variant ...
This reverts commit bdb55fb4b3
.
This commit is contained in:
parent
ddba126307
commit
8d6f2c2820
@ -1,10 +1,10 @@
|
|||||||
# ngIRCd test suite
|
# ngIRCd test suite
|
||||||
# Server connect test
|
# Server connect test
|
||||||
|
|
||||||
spawn openssl s_client -quiet -nameopt utf8,space_eq -connect 127.0.0.1:6790
|
spawn openssl s_client -quiet -connect 127.0.0.1:6790
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
"*CN = my.first.domain.tld"
|
"*CN*=*my.first.domain.tld"
|
||||||
}
|
}
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# ngIRCd test suite
|
# ngIRCd test suite
|
||||||
# Server connect test
|
# Server connect test
|
||||||
|
|
||||||
spawn openssl s_client -quiet -nameopt utf8,space_eq -connect 127.0.0.1:6790
|
spawn openssl s_client -quiet -connect 127.0.0.1:6790
|
||||||
expect {
|
expect {
|
||||||
timeout { exit 1 }
|
timeout { exit 1 }
|
||||||
"*CN = my.second.domain.tld"
|
"*CN*=*my.second.domain.tld"
|
||||||
}
|
}
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Loading…
Reference in New Issue
Block a user