diff --git a/test/exec.bats b/test/exec.bats index bf57c597..889eb897 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -45,6 +45,20 @@ OUT assert_line "HELLO=from hook" } +@test "carries original IFS within hooks" { + hook_path="${RBENV_TEST_DIR}/rbenv.d" + mkdir -p "${hook_path}/exec" + cat > "${hook_path}/exec/hello.bash" < "${hook_path}/rehash/hello.bash" < "${hook_path}/which/hello.bash" <