diff --git a/test/prefix.bats b/test/prefix.bats index 88def509..96ea7668 100644 --- a/test/prefix.bats +++ b/test/prefix.bats @@ -26,6 +26,7 @@ load test_helper #Arch has Python at sbin as well as bin @test "prefix for sbin system" { + export PATH="${PYENV_TEST_DIR}/sbin:$PATH" mkdir -p "${PYENV_TEST_DIR}/sbin" touch "${PYENV_TEST_DIR}/sbin/python" chmod +x "${PYENV_TEST_DIR}/sbin/python"