mirror of https://github.com/schoebel/mars
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
#!/bin/bash
|
|
|
|
## the base directory of all .sh and .conf files
|
|
main_base_directory=/home/fl/mars/test_suite
|
|
|
|
## hosts the tests are running on
|
|
main_host_list=("istore-test-bs7" "istore-test-bap7")
|
|
main_host_bootloader_list=( lilo lilo )
|
|
main_host_bootloader_label_list=( mars mars )
|
|
|
|
|
|
## associative array containing functions (as indexes) to be called in case of
|
|
## unexpected errors or signals. See also lib_exit
|
|
## The values of the array are the parameter lists for the function calls
|
|
|
|
declare -g -A main_error_recovery_functions
|
|
|
|
## to access others hosts without password
|
|
## see also lib_remote_idfile
|
|
|
|
main_ssh_idfile_opt="-i $HOME/.ssh/id_dsa_no_pw"
|
|
|
|
## the name of the logical volume group which contains all logical volumes
|
|
## needed for the tests
|
|
main_lvg_name="vg-mars"
|
|
|
|
## prefix for the logical volume names used. The full name is formed by
|
|
## appending the volumes size in G.
|
|
main_lv_name_prefix="lv-"
|
|
|
|
main_mars_directory="/mars"
|
|
|
|
|
|
# results of checks of links
|
|
declare -g -A main_link_status
|
|
main_link_status=(["link_ok"]=0 ["link_does_not_exist"]=1 \
|
|
["link_has_wrong_value"]=2)
|
|
|