mariadb/ndb/test/run-test/atrt-mysql-test-run

19 lines
337 B
Text
Raw Normal View History

#!/bin/sh
set -x
p=`pwd`
cd $MYSQL_BASE_DIR/mysql-test
2004-10-06 13:26:38 +00:00
./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