magic to check that tests didn't muck with test dataset

This commit is contained in:
Baron Schwartz
2012-06-05 03:24:59 -04:00
parent 6ede613752
commit 5c23b95072
6 changed files with 126 additions and 31 deletions

View File

@@ -284,6 +284,7 @@ case $opt in
if [ $? -eq 0 -a "$MYSQL_VERSION" '>' "4.1" ]; then
echo -n "Loading sakila database... "
./load-sakila-db 12345
../util/checksum-test-dataset
exit_status=$((exit_status | $?))
if [ $? -ne 0 ]; then
echo "FAILED"