test_suite: renaming

This commit is contained in:
Frank Liepold 2014-01-08 08:00:06 +01:00
parent d100310abb
commit 9dfad30319
2 changed files with 3 additions and 3 deletions

View File

@ -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=$?

View File

@ -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