Whamcloud - gitweb
LU-1024 tests: Test replay-vbr.test_1c failed
authorKyrylo Shatskyy <kyrylo_shatskyy@xyratex.com>
Tue, 24 Jan 2012 11:21:02 +0000 (13:21 +0200)
committerOleg Drokin <green@whamcloud.com>
Thu, 16 Aug 2012 13:28:30 +0000 (09:28 -0400)
Fixed execution of runmultiop_bg_pause from replay-vbr.sh.

The test-framework.sh wasn't able to to be included in
runmultiop_bg_from script, because since it was started via sh
and dirname didn't return correct path for LUSTRE initialization.

Running the script as executable allows to detect it's directory
correctly via dirname.

Xyratex-bug-id: MRP-299
Reviewed-by: Alexander Zarochentsev <alexander_zarochentsev@xyratex.com>
Reviewed-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Signed-off-by: Kyrylo Shatskyy <kyrylo_shatskyy@xyratex.com>
Change-Id: I0c1e88af405a87bf73ff3e2ac438bccba2b92afc
Reviewed-on: http://review.whamcloud.com/2003
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Li Wei <liwei@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/runmultiop_bg_pause [changed mode: 0644->0755]

index ae7e5c8..1ad9288 100644 (file)
@@ -58,7 +58,7 @@ rmultiop_start() {
     # /tmp/multiop_bg.pid file
     local pid_file=$TMP/multiop_bg.pid.$$
-    do_node $client "MULTIOP_PID_FILE=$pid_file LUSTRE= sh runmultiop_bg_pause $file $cmds" &
+    do_node $client "MULTIOP_PID_FILE=$pid_file LUSTRE= runmultiop_bg_pause $file $cmds" &
     local pid=$!
     sleep 3
     local multiop_pid
old mode 100644 (file)
new mode 100755 (executable)