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/srvswdev11/test102/diff.sh
2016-01-06 14:08:59 -06:00

20 lines
260 B
Bash
Executable File

#!/bin/bash
count=32;
if [ $1 -gt 0 ]
then
count=$1
fi
for (( i=1; i <= $count; i++ ))
do
for fl in *.sql; do
diff baseline/$fl.log $i/$fl.log -b > /dev/null
if [ $? -ne 0 ]; then
echo "$i/$fl.log does not match baseline/$fl.log."
fi
done
done