test_suite: make host list rewritable via environment variables

This commit is contained in:
Frank Liepold 2014-04-22 09:00:54 +02:00
parent 7b2133b15a
commit 4c51991189
2 changed files with 3 additions and 1 deletions

View File

@ -334,6 +334,8 @@ To build the mars module and userspace tools you need:
-------------------------------------------------------------------
The test hosts are given in global_host_list (global.conf).
The two values can be overwritten by the environment variables
MARS_INITIAL_PRIMARY_HOST and MARS_INITIAL_SECONDARY_HOST
2.2.1. Access requirements
--------------------------

View File

@ -30,7 +30,7 @@ global_user_module_dir=$global_user_dir/modules
## hosts the tests are running on. The first host is initially always used as
## primary host
global_host_list=("istore-test-bs7" "istore-test-bap7")
global_host_list=(${MARS_INITIAL_PRIMARY_HOST:-"istore-test-bs7"} ${MARS_INITIAL_SECONDARY_HOST:-"istore-test-bap7"})
## if global_host_list is changed in a *.conf file we need to recompute the
## values of all dependent globals.