- test code

This commit is contained in:
Ivan Pozdeev 2025-05-12 03:43:30 +03:00
parent 80b9d85600
commit 99a0288667

View File

@ -665,12 +665,9 @@ OUT
@test "homebrew is used in Linux if Pyenv is installed with Homebrew" {
cached_tarball "Python-3.6.2"
set -x
BREW_PREFIX="$(type -p python-build)"
BREW_PREFIX="${BREW_PREFIX%/*}"
BREW_PREFIX="$(cd "$BREW_PREFIX"; pwd)"
BREW_PREFIX="${BREW_PREFIX%/*}"
set +x
stub uname '-s : echo Linux'
stub brew "--prefix : echo '$BREW_PREFIX'"