mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-15 06:37:38 +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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user