1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
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
@@ -46,13 +46,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)" {
|