mirror of https://github.com/schoebel/mars
test_suite: renaming
This commit is contained in:
parent
d100310abb
commit
9dfad30319
|
@ -615,7 +615,7 @@ function resource_check_links_after_join
|
|||
|
||||
local reslink_name link_value_expected link_status
|
||||
|
||||
local link="$(lib_linktree_get_primary_linkname $res)"
|
||||
local link="$(lib_linktree_get_designated_primary_linkname $res)"
|
||||
local link_value_expected="$primary_host"
|
||||
lib_linktree_check_link $host "$link" "$link_value_expected"
|
||||
link_status=$?
|
||||
|
@ -628,7 +628,7 @@ function resource_check_links_after_create
|
|||
{
|
||||
local host=$1 res=$2 reslink_name link_value_expected link_status
|
||||
|
||||
local link="$(lib_linktree_get_primary_linkname $res)"
|
||||
local link="$(lib_linktree_get_designated_primary_linkname $res)"
|
||||
local link_value_expected="$host"
|
||||
lib_linktree_check_link $host "$link" "$link_value_expected"
|
||||
link_status=$?
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
function lib_linktree_get_primary_linkname
|
||||
function lib_linktree_get_designated_primary_linkname
|
||||
{
|
||||
local resource_name=$1
|
||||
echo ${resource_dir_list[$res]}/primary
|
||||
|
|
Loading…
Reference in New Issue