X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Frunmultiop_bg_pause;h=640cc2915439cc36f155d2df292ea184f57e2b8a;hb=5093fef8392c866f1998d6e68b6536d10daabb4d;hp=823ebddece9d8aa6e474c66b6c6dc141e18728ba;hpb=4b6f6519c86355f8ac9899a06e2510348a0f9413;p=fs%2Flustre-release.git diff --git a/lustre/tests/runmultiop_bg_pause b/lustre/tests/runmultiop_bg_pause index 823ebdd..640cc29 100644 --- a/lustre/tests/runmultiop_bg_pause +++ b/lustre/tests/runmultiop_bg_pause @@ -7,5 +7,11 @@ PTLDEBUG=${PTLDEBUG:--1} LUSTRE=${LUSTRE:-`dirname $0`/..} . $LUSTRE/tests/test-framework.sh +TMP=${TMP:-/tmp} +MULTIOP_PID_FILE=${MULTIOP_PID_FILE:-$TMP/multiop_bg.pid} +rm -f $MULTIOP_PID_FILE + multiop_bg_pause $* -exit $? +rc=$? +[ "$rc" = 0 ] && echo $! > $MULTIOP_PID_FILE +exit $rc