Whamcloud - gitweb
b=19415
authorgrev <grev>
Thu, 23 Jul 2009 11:08:37 +0000 (11:08 +0000)
committergrev <grev>
Thu, 23 Jul 2009 11:08:37 +0000 (11:08 +0000)
i=Robert.Read
restart_client_loads fix related to new client load var name

lustre/tests/test-framework.sh

index a3332cc..8393209 100644 (file)
@@ -809,8 +809,9 @@ restart_client_loads () {
         check_client_load $client
         rc=${PIPESTATUS[0]}
         if [ "$rc" != 0 -a "$expectedfail" ]; then
-            start_client_load $client
-            echo "Restarted client load: on $client. Checking ..."
+            local var=$(client_var_name $client)_load
+            start_client_load $client ${!var}
+            echo "Restarted client load ${!var}: on $client. Checking ..."
             check_client_load $client
             rc=${PIPESTATUS[0]}
             if [ "$rc" != 0 ]; then