Skip to content

Commit

Permalink
mon: prepend current directory to PATH for tests
Browse files Browse the repository at this point in the history
So that binaries found in the source directory are always prefered to
installed binaries or scripts.

Signed-off-by: Loic Dachary <[email protected]>
  • Loading branch information
Loic Dachary committed Mar 3, 2014
1 parent eb21bc8 commit 0b612d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/mon/mon-test-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function kill_daemons() {
function main() {
local dir=$1

export PATH=:$PATH # make sure program from sources are prefered

PS4='${FUNCNAME[0]}: $LINENO: '
export CEPH_CONF=/dev/null
unset CEPH_ARGS
Expand Down

0 comments on commit 0b612d1

Please sign in to comment.