diff options
author | sasha@mysql.sashanet.com <> | 2000-09-18 11:40:36 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2000-09-18 11:40:36 -0600 |
commit | 39b0241c9e0582700c79ad660988e9049c2a4d32 (patch) | |
tree | 54f7787ab20d5bd64b5cc0382321f252f86f0099 /repl-tests | |
parent | a08be4f963d5fb1425c6b8fed0e2342e3e2ad52e (diff) | |
download | mariadb-git-39b0241c9e0582700c79ad660988e9049c2a4d32.tar.gz |
fixed up mysql-test, added README for replication tests, and added
run-all-tests for replication
Diffstat (limited to 'repl-tests')
-rw-r--r-- | repl-tests/README | 12 | ||||
-rwxr-xr-x | repl-tests/run-all-tests | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/repl-tests/README b/repl-tests/README new file mode 100644 index 00000000000..62a05e909e9 --- /dev/null +++ b/repl-tests/README @@ -0,0 +1,12 @@ +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 diff --git a/repl-tests/run-all-tests b/repl-tests/run-all-tests new file mode 100755 index 00000000000..bed0ce3f0f0 --- /dev/null +++ b/repl-tests/run-all-tests @@ -0,0 +1,9 @@ +#! /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 |