summaryrefslogtreecommitdiffstats
path: root/storage/maria/ma_test_big.sh
blob: 6419d05e3a4f93fe3cbc619fdd2bc7e56e0f3188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# This tests is good to find bugs in the redo/undo handling and in
# finding bugs in blob handling
#

set -e
a=15
while test $a -le 5000
do
  echo $a
  rm -f maria_log*
  ma_test2 -s -L -K -W -P -M -T -c -b32768 -t4 -A1 -m$a > /dev/null
  maria_read_log -a -s >& /dev/null
  maria_chk -es test2
  maria_read_log -a -s >& /dev/null
  maria_chk -es test2
  rm test2.MA?
  maria_read_log -a -s >& /dev/null
  maria_chk -es test2
  a=$((a+1))
done