X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Frecovery-random-scale.sh;h=dfde69afb6adecbfe3bd5932c58f4a105b9b58b7;hb=157a8aa86783ce947a7cfdd208734d568a912f9a;hp=d624b0c692584696219d1a9ab368296962c9fa1b;hpb=a7a2133bfab42eba077f1b8d5c991c651c8028c3;p=fs%2Flustre-release.git diff --git a/lustre/tests/recovery-random-scale.sh b/lustre/tests/recovery-random-scale.sh index d624b0c..dfde69a 100644 --- a/lustre/tests/recovery-random-scale.sh +++ b/lustre/tests/recovery-random-scale.sh @@ -112,7 +112,7 @@ summary_and_cleanup () { # actually failed though. the first node in the END_RUN_NODE is # the one we are really interested in. if [ -n "$END_RUN_NODE" ]; then - var=${END_RUN_NODE}_load + var=$(client_var_name $END_RUN_NODE)_load echo "Client load failed on node $END_RUN_NODE" echo echo "client $END_RUN_NODE load stdout and debug files : @@ -212,7 +212,7 @@ while [ $ELAPSED -lt $DURATION -a ! -e $END_RUN_FILE ]; do it_time_start=$(date +%s) FAIL_CLIENT=$(get_random_entry $NODES_TO_USE) - client_var=${FAIL_CLIENT}_nums + client_var=$(client_var_name $FAIL_CLIENT)_nums # store the list of failed clients # lists are comma separated