Files
sysbench/tests/t/drivers.t
Alexey Kopytov 2ad038e816 Basic regression tests for MySQL and PostgreSQL drivers.
Add the very basic regression tests for MySQL and PostgreSQL drivers +
necessary Travis CI configuration updates.
2016-09-09 17:26:43 +03:00

14 lines
484 B
Perl

########################################################################
Make sure all available DB drivers are covered
########################################################################
$ drivers=$(sysbench help | sed -n '/Compiled-in database drivers:/,/^$/p' | tail -n +2 | cut -d ' ' -f 3)
$ for drv in $drivers
> do
> if [ ! -r ${SBTEST_SUITEDIR}/drv_${drv}.t ]
> then
> echo "Cannot find test(s) for the $drv driver!"
> exit 1
> fi
> done