Files
MaxScale/maxscale-system-test/mxs791_galera.sh
Markus Mäkelä a91b054eb4 Fix out-of-source runs of mxs791_galera.sh
The test used the current directory instead of the source directory where
the script was located.
2018-07-31 22:53:10 +03:00

18 lines
334 B
Bash
Executable File

#!/bin/bash
###
## @file mxs791.sh Simple connect test in bash
## - connects to Maxscale, checks that defined in cmd line DB is selected
srcdir=$(dirname $(realpath $0))
export test_dir=`pwd`
export test_name="mxs791_galera.sh"
echo test name is $test_name
$srcdir/mxs791_base.sh
res=$?
$srcdir/copy_logs.sh $test_name
exit $res