From 087ca5d588c0cb8f707a808e26165cfb6224e359 Mon Sep 17 00:00:00 2001 From: macayu17 Date: Sat, 15 Aug 2026 19:55:16 +0530 Subject: [PATCH] pyenv-binary-save: make readelf test host-independent --- plugins/pyenv-binary/test/save.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pyenv-binary/test/save.bats b/plugins/pyenv-binary/test/save.bats index c0c58d38..bb4e6e8a 100644 --- a/plugins/pyenv-binary/test/save.bats +++ b/plugins/pyenv-binary/test/save.bats @@ -85,6 +85,7 @@ platform() { @test "fails when readelf is not available" { create_version "3.12.7" + create_stub uname 'case "$1" in -s) echo Linux;; -m) echo x86_64;; esac' PATH="$(path_without readelf)" run pyenv-binary-save "3.12.7" "${BATS_TEST_TMPDIR}/dist" assert_failure "pyenv-binary: need readelf to inspect shared libraries"