mirror of
https://github.com/schoebel/mars
synced 2025-01-15 11:30:43 +00:00
test_suite: make host list rewritable via environment variables
This commit is contained in:
parent
7b2133b15a
commit
4c51991189
@ -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
|
||||
--------------------------
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user