Commit 39b0241c authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

fixed up mysql-test, added README for replication tests, and added

run-all-tests for replication
parent a08be4f9
Loading
Loading
Loading
Loading

repl-tests/README

0 → 100644
+12 −0
Original line number Diff line number Diff line
This directory contains a set of test cases for replication. To get it
to work on your system, install this version of MySQL on the master and on
the slave, configure them according to the Replication HOWTO in the manual,
modify include/master-slave.inc to specify correct connection parameters
for the master and the slave and do

sh run-all-tests

If you would like to add your own test case, create a directory
test-your-test-case-name, write your own run.test following the examples
in the other test cases. Note that you can create the files containing
the expected output ( master files) by running mysql-test --record < run.test
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
#! /bin/sh

for d in test-*; do
cd $d
echo -n $d | sed -e s/test-//
echo -n "...."
../../client/mysql-test $@ < run.test
cd ..
done
 No newline at end of file