Skip to content

Commit 0f27db3

Browse files
committed
Allow mysql-ssl option to differ
1 parent fae19ba commit 0f27db3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/t/help_drv_mysql.t

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ Skip test if the MySQL driver is not available.
88
$ sysbench --help | grep -- '--db-driver'
99
--db-driver=STRING specifies database driver to use ('help' to get list of available drivers) [mysql]
1010

11-
$ sysbench --help | sed -n '/mysql options:/,/^$/p'
11+
$ sysbench --help | sed -n '/mysql options:/,/^$/p' | grep -v 'mysql-ssl[=\[]'
1212
mysql options:
1313
--mysql-host=[LIST,...] MySQL server host [localhost]
1414
--mysql-port=[LIST,...] MySQL server port [3306]
1515
--mysql-socket=[LIST,...] MySQL socket
1616
--mysql-user=STRING MySQL user [sbtest]
1717
--mysql-password=STRING MySQL password []
1818
--mysql-db=STRING MySQL database name [sbtest]
19-
--mysql-ssl=STRING SSL mode. This accepts the same values as the --ssl-mode option in the MySQL client utilities. Disabled by default [disabled]
2019
--mysql-ssl-key=STRING path name of the client private key file
2120
--mysql-ssl-ca=STRING path name of the CA file
2221
--mysql-ssl-cert=STRING path name of the client public key certificate file

0 commit comments

Comments
 (0)