From 7087b2da9145ea8e66186b1c166e997e80d0c625 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 9 Jun 2011 21:40:15 -0700 Subject: [PATCH] qa: include $basedir/src/ (qa/src/) in path This lets the workunits find stuff build in qa/src/, in case you are running using these (old) scripts. Signed-off-by: Sage Weil --- qa/loopall.sh | 2 ++ qa/runallonce.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/qa/loopall.sh b/qa/loopall.sh index b533a7ca0955a..d61f6bb4347ac 100755 --- a/qa/loopall.sh +++ b/qa/loopall.sh @@ -8,6 +8,8 @@ testdir="$1" [ ${basedir:0:1} == "." ] && basedir=`pwd`/${basedir:1} +PATH="$basedir/src:$PATH" + [ -z "$testdir" ] || [ ! -d "$testdir" ] && echo "specify test dir" && exit 1 cd $testdir diff --git a/qa/runallonce.sh b/qa/runallonce.sh index 1aeda70e4cb11..1786ef32b5665 100755 --- a/qa/runallonce.sh +++ b/qa/runallonce.sh @@ -8,6 +8,8 @@ testdir="$1" [ ${basedir:0:1} == "." ] && basedir=`pwd`/${basedir:1} +PATH="$basedir/src:$PATH" + [ -z "$testdir" ] || [ ! -d "$testdir" ] && echo "specify test dir" && exit 1 cd $testdir -- 2.39.5