1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/demo/.svn/text-base/test513.sh.svn-base
2016-01-06 14:08:59 -06:00

32 lines
701 B
Bash

#!/bin/sh
#
# Test 513. Repeats distinct queries at the edge of TotalUmMemory set to 4G to monitor memory.
#
TEST=test513
STATUSTEXT="513 Repeat Distinct Query: "
if [ -z "$MYSQLCMD" ]; then
MYSQLCMD="/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root"
export MYSQLCMD
fi
# Default the status to Failed.
echo "$STATUSTEXT Incomplete" > $TEST.status
cd $TEST
./go513.sh
cd ..
#
# Populate the .status file.
#
diffs=`wc -l $TEST/diff.txt | awk '{print $1}'`
if [ $diffs -gt 0 ]; then
echo "$STATUSTEXT Failed (check $TEST/diff.txt)" > $TEST.status
else
echo "$STATUSTEXT Passed" > $TEST.status
fi
cat $TEST.status