You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-17 09:41:06 +03:00
30 lines
620 B
Bash
Executable File
30 lines
620 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Test 811. Import ssb100c.
|
|
#
|
|
TEST=test811
|
|
STATUSTEXT="811 Import ssb100c : "
|
|
|
|
if [ -z "$MYSQLCMD" ]; then
|
|
MYSQLCMD="/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root"
|
|
export MYSQLCMD
|
|
fi
|
|
|
|
./ssb100_import_test.sh ssb100c > $TEST.log
|
|
|
|
status=`tail -1 $TEST.log`
|
|
|
|
#
|
|
# Populate the .status file.
|
|
#
|
|
errorCount=`grep -i error $TEST.log | wc -l`
|
|
|
|
if [ $errorCount -gt 0 ]
|
|
then
|
|
echo "$STATUSTEXT Failed (Check $TEST.log for errors)" > $TEST.status
|
|
else
|
|
echo "$STATUSTEXT Passed $status" > $TEST.status
|
|
fi
|
|
|
|
cat $TEST.status
|