Whamcloud - gitweb
b=16476
authorgrev <grev>
Fri, 31 Jul 2009 15:38:55 +0000 (15:38 +0000)
committergrev <grev>
Fri, 31 Jul 2009 15:38:55 +0000 (15:38 +0000)
i=Brian
wait_for_host fix for nodes which have no lustre-tests installed

lustre/tests/test-framework.sh

index d753ed9..1ad5377 100644 (file)
@@ -1046,7 +1046,7 @@ wait_delete_completed () {
 wait_for_host() {
     local host=$1
     check_network "$host" 900
-    while ! do_node $host "ls -d $LUSTRE " > /dev/null; do sleep 5; done
+    while ! do_node $host hostname  > /dev/null; do sleep 5; done
 }
 
 wait_for() {