When mysql-test-run.pl starts, it checks whether mysqld supports SSL connections:
If mysqld supports SSL, mysql-test-run.pl starts it with the proper
--ssl-options that enable it to accept SSL connections for those test cases that require secure connections (those with “ssl” in their name). As mysql-test-run.pl runs test cases, a secure connection to mysqld is initiated for those cases that require one. For those test cases that do not require SSL, an unencrypted connection is initiated.
If mysqld does not support SSL, mysql-test-run.pl skips those test cases that require secure connections.
If mysql-test-run.pl is started with the
--ssl option, it sets up a secure connection for
all test cases. In this case, if mysqld does
not support SSL, mysql-test-run.pl exits with
an error message:
Couldn't find support for SSL
For mysql-test-run (the shell version), the
--with-openssl option corresponds to the
--ssl option for