Add tests for turning off shell integration in the bootstrap script

This commit is contained in:
Kovid Goyal
2022-02-23 21:14:45 +05:30
parent 8ca3a511cc
commit 78b553e55e
2 changed files with 18 additions and 6 deletions

View File

@@ -226,7 +226,6 @@ esac
# We need to pass the first argument to the executed program with a leading -
# to make sure the shell executes as a login shell. Note that not all shells
# support exec -a so we use the below to try to detect such shells
shell_name=$(basename $login_shell)
if [ -z "$PIPESTATUS" ]; then
# the dash shell does not support exec -a and also does not define PIPESTATUS
execute_with_python