Skip to content
Snippets Groups Projects
Commit 50f923b7 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=16264

i=Adilger
new t-f init clients list fn
parent ee8118b5
No related branches found
No related tags found
No related merge requests found
......@@ -3,14 +3,8 @@
CLIENT1=${CLIENT1:-`hostname`}
SINGLECLIENT=$CLIENT1
RCLIENTS=${RCLIENTS:-""}
CLIENTS=`comma_list $SINGLECLIENT $RCLIENTS`
REMOTECLIENTS=($RCLIENTS)
for ((i=0; $i<${#REMOTECLIENTS[@]}; i++)); do
varname=CLIENT$((i + 2))
eval $varname=${REMOTECLIENTS[i]}
done
CLIENTCOUNT=$((${#REMOTECLIENTS[@]} + 1))
init_clients_lists
[ -n "$RCLIENTS" -a "$PDSH" = "no_dsh" ] && \
error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment