From: Kyrylo Shatskyy Date: Tue, 24 Jan 2012 11:21:02 +0000 (+0200) Subject: LU-1024 tests: Test replay-vbr.test_1c failed X-Git-Tag: 2.2.93~3 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=a5570edaaacf34fee6b6791d33f6e26dddd5a329;p=fs%2Flustre-release.git LU-1024 tests: Test replay-vbr.test_1c failed 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 Reviewed-by: Andriy Skulysh Signed-off-by: Kyrylo Shatskyy Change-Id: I0c1e88af405a87bf73ff3e2ac438bccba2b92afc Reviewed-on: http://review.whamcloud.com/2003 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Li Wei Reviewed-by: Yu Jian Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/replay-vbr.sh b/lustre/tests/replay-vbr.sh index ae7e5c8..1ad9288 100644 --- a/lustre/tests/replay-vbr.sh +++ b/lustre/tests/replay-vbr.sh @@ -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 diff --git a/lustre/tests/runmultiop_bg_pause b/lustre/tests/runmultiop_bg_pause old mode 100644 new mode 100755