Description: Changing shell to 'bash' to fix test execution
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2025-01-11
Index: pyenv/test/init.bats
===================================================================
--- pyenv.orig/test/init.bats
+++ pyenv/test/init.bats
@@ -53,13 +53,13 @@ create_executable() {
   mkdir -p "$PYENV_TEST_DIR"
   cd "$PYENV_TEST_DIR"
   cat > myscript.sh <<OUT
-#!/bin/sh
+#!/bin/bash
 eval "\$(pyenv-init -)"
 echo \$PYENV_SHELL
 OUT
   chmod +x myscript.sh
   run ./myscript.sh
-  assert_success "sh"
+  assert_success "bash"
 }
 
 @test "setup shell completions (fish)" {
