Added $(ROOT_PATH)/test.inc where test parameters can be added. For example, MaxScale port numbers, usernames, passwords. The file can be included in every */test/makefile so that all test directories can use same parameters if necessary.

Moved checking test results to rwsplit.sh so that tests can use easily different criterias to evaluate test success.
This commit is contained in:
VilhoRaatikka
2014-03-27 10:06:31 +02:00
parent f380c707f9
commit 75549c6a20
5 changed files with 45 additions and 22 deletions

View File

@ -1,7 +1,3 @@
SET autocommit = 1;
SELECT @@server_id INTO @a;
START TRANSACTION;
SELECT @@server_id INTO @b;
COMMIT;
SELECT (@a-@b) INTO @c;
SELECT @a, @b, @c;
SET autocommit = 0;
SELECT @@in_transaction INTO @a;
SELECT @a;