Files
sysbench/tests/t/help_drv_pgsql.t
Alexey Kopytov 7418441572 Move tests into a separate subdirectory.
Move regression tests into a separate subdirectory. Update README in
tests and covert it from org-mode to markdown. Also add 'make distcheck'
to Travis CI testing.
2016-09-07 10:37:15 +03:00

16 lines
546 B
Perl

Skip test if the PostgreSQL driver is not available.
$ if ! sysbench help | sed -n '/Compiled-in database drivers:/,/^$/p' | grep pgsql > /dev/null 2>&1
> then
> exit 80
> fi
$ sysbench help | sed -n '/pgsql options:/,/^$/p'
pgsql options:
--pgsql-host=STRING PostgreSQL server host [localhost]
--pgsql-port=N PostgreSQL server port [5432]
--pgsql-user=STRING PostgreSQL user [sbtest]
--pgsql-password=STRING PostgreSQL password []
--pgsql-db=STRING PostgreSQL database name [sbtest]