Do not include whole $PATH.

'/usr/local/bin' is used for bash on FreeBSD.
It is the default install path of FreeBSD packages.
This commit is contained in:
Yuichiro NAITO 2016-12-23 00:55:15 +09:00
parent 0a347a4537
commit f70d958f47

View file

@ -3,7 +3,7 @@ export TMP="$BATS_TEST_DIRNAME/tmp"
if [ "$FIXTURE_ROOT" != "$BATS_TEST_DIRNAME/fixtures" ]; then
export FIXTURE_ROOT="$BATS_TEST_DIRNAME/fixtures"
export INSTALL_ROOT="$TMP/install"
PATH="/usr/bin:/usr/sbin:/bin/:/sbin:$PATH"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
PATH="$BATS_TEST_DIRNAME/../bin:$PATH"
PATH="$TMP/bin:$PATH"
export PATH