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

10
test.inc Normal file
View File

@ -0,0 +1,10 @@
#
# This file includes parameters needed for running tests and may be included
# in makefiles in test directories if seen useful.
#
THOST := 127.0.0.1
TPORT_RCONN := 4008
TPORT_RW := 4006
TUSER := maxuser
TPWD := maxpwd