Whamcloud - gitweb
b=17634
authorgrev <grev>
Wed, 12 Nov 2008 20:52:41 +0000 (20:52 +0000)
committergrev <grev>
Wed, 12 Nov 2008 20:52:41 +0000 (20:52 +0000)
i=Yury.Umanets
insanity cleanup (remove dup fn)

lustre/tests/insanity.sh

index 61a18f6..3c4bf29 100755 (executable)
@@ -73,13 +73,6 @@ shutdown_client() {
     fi
 }
 
-reboot_node() {
-    NODE=$1
-    if [ "$FAILURE_MODE" = HARD ]; then
-       $POWER_UP $NODE
-    fi
-}
-
 fail_clients() {
     num=$1
 
@@ -105,7 +98,7 @@ fail_clients() {
     echo "down clients: $DOWN_CLIENTS"
 
     for client in $DOWN_CLIENTS; do
-       reboot_node $client
+       boot_node $client
     done
     DOWN_NUM=`echo $DOWN_CLIENTS | wc -w`
     client_rmdirs