From: Felipe Contreras Date: Tue, 30 Aug 2022 09:30:55 GMT Subject: [PATCH 08/51] test: reset environment variables Message-ID: <20220830093138.1581538-9-felipe.contreras@gmail.com> In-Reply-To: <20220830093138.1581538-1-felipe.contreras@gmail.com> These should not affect the tests. Signed-off-by: Felipe Contreras --- t/t9903-bash-prompt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t9903-bash-prompt.sh b/t/t9903-bash-prompt.sh index 6a30f5719c..c94c351e23 100755 --- a/t/t9903-bash-prompt.sh +++ b/t/t9903-bash-prompt.sh @@ -18,6 +18,14 @@ c_green='\\[\\e[32m\\]' c_lblue='\\[\\e[1;34m\\]' c_clear='\\[\\e[0m\\]' +unset GIT_PS1_SHOWDIRTYSTATE +unset GIT_PS1_SHOWSTASHSTATE +unset GIT_PS1_SHOWUNTRACKEDFILES +unset GIT_PS1_COMPRESSSPARSESTATE +unset GIT_PS1_SHOWUPSTREAM +unset GIT_PS1_STATESEPARATOR +unset GIT_PS1_SHOWCOLORHINTS + test_expect_success 'setup for prompt tests' ' git init otherrepo && echo 1 >file && -- 2.37.2.351.g9bf691b78c.dirty