Whamcloud - gitweb
b=20126
authorzhanghc <zhanghc>
Fri, 14 Aug 2009 15:31:00 +0000 (15:31 +0000)
committerzhanghc <zhanghc>
Fri, 14 Aug 2009 15:31:00 +0000 (15:31 +0000)
replace multiop with multiop_bg_pause in test_53b in replay-single.sh
in order to make it sure that the operation is paused on return.

i=grev@sun.com

lustre/tests/replay-single.sh

index 1b789e0..1e95688 100755 (executable)
@@ -1134,7 +1134,7 @@ test_53b() {
 
         mkdir -p $DIR/${tdir}-1
         mkdir -p $DIR/${tdir}-2
 
         mkdir -p $DIR/${tdir}-1
         mkdir -p $DIR/${tdir}-2
-        multiop $DIR/${tdir}-1/f O_c &
+        multiop_bg_pause $DIR/${tdir}-1/f O_c || return 6
         close_pid=$!
 
         #define OBD_FAIL_MDS_REINT_NET 0x107
         close_pid=$!
 
         #define OBD_FAIL_MDS_REINT_NET 0x107