1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/storage/ndb/test/run-test/atrt-mysql-test-run
2005-04-26 18:19:54 -07:00

19 lines
353 B
Bash
Executable File

#!/bin/sh
set -x
p=`pwd`
cd $MYSQL_BASE_DIR/mysql-test
./mysql-test-run --with-ndbcluster --ndb-connectstring=$NDB_CONNECTSTRING $* | tee $p/output.txt
f=`grep -c '\[ fail \]' $p/output.txt`
o=`grep -c '\[ pass \]' $p/output.txt`
if [ $o -gt 0 -a $f -eq 0 ]
then
echo "NDBT_ProgramExit: OK"
exit 0
fi
echo "NDBT_ProgramExit: Failed"
exit 1