Files
sysbench/tests/t/tests.t
2017-01-25 00:02:59 +03:00

14 lines
471 B
Perl

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