Whamcloud - gitweb
b=17229
authorgrev <grev>
Fri, 14 Nov 2008 16:23:23 +0000 (16:23 +0000)
committergrev <grev>
Fri, 14 Nov 2008 16:23:23 +0000 (16:23 +0000)
i=Adilger
remote multiop fix

lustre/tests/test-framework.sh

index 0e74725..e9ddda7 100644 (file)
@@ -1764,7 +1764,10 @@ multiop_bg_pause() {
     $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE &
 
     echo "TMPPIPE=${TMPPIPE}"
-    read -t 60 multiop_output < $TMPPIPE
+    local multiop_output
+    local multiop_pid
+
+    read -t 60 multiop_output multiop_pid < $TMPPIPE
     if [ $? -ne 0 ]; then
         rm -f $TMPPIPE
         return 1
@@ -1776,6 +1779,7 @@ multiop_bg_pause() {
         return 1
     fi
 
+    echo $multiop_pid
     return 0
 }