1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-27 20:36:18 +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:
Alexander Barton 2024-04-01 20:54:42 +02:00
parent ddba126307
commit 8d6f2c2820
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# ngIRCd test suite
# 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 {
timeout { exit 1 }
"*CN = my.first.domain.tld"
"*CN*=*my.first.domain.tld"
}
sleep 2

View File

@ -1,10 +1,10 @@
# ngIRCd test suite
# 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 {
timeout { exit 1 }
"*CN = my.second.domain.tld"
"*CN*=*my.second.domain.tld"
}
sleep 2