Permalink
Browse files

Do not include whole $PATH.

'/usr/local/bin' is used for bash on FreeBSD.
It is the default install path of FreeBSD packages.
  • Loading branch information...
1 parent 0a347a4 commit f70d958f470e1c27041ea0ee7695c5aca28711ee @yuichiro-naito yuichiro-naito committed Dec 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.bash
@@ -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

0 comments on commit f70d958

Please sign in to comment.