From a5570edaaacf34fee6b6791d33f6e26dddd5a329 Mon Sep 17 00:00:00 2001 From: Kyrylo Shatskyy Date: Tue, 24 Jan 2012 13:21:02 +0200 Subject: [PATCH] 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 --- lustre/tests/replay-vbr.sh | 2 +- lustre/tests/runmultiop_bg_pause | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 lustre/tests/runmultiop_bg_pause 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 -- 1.8.3.1