diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-02 00:24:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-16 21:38:47 (GMT) |
commit | cff4243db9eec386c17222d545ec7dbf51768672 (patch) | |
tree | a078a9c392c1815e2ebda25fb04deb4add555258 /t/t9903-bash-prompt.sh | |
parent | e974e06de01aede87161fb04cfeb119343bb7594 (diff) | |
download | git-cff4243db9eec386c17222d545ec7dbf51768672.zip git-cff4243db9eec386c17222d545ec7dbf51768672.tar.gz git-cff4243db9eec386c17222d545ec7dbf51768672.tar.bz2 |
t9000-t9999: fix broken &&-chains
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9903-bash-prompt.sh')
-rwxr-xr-x | t/t9903-bash-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9903-bash-prompt.sh b/t/t9903-bash-prompt.sh index c3b89ae..0444068 100755 --- a/t/t9903-bash-prompt.sh +++ b/t/t9903-bash-prompt.sh @@ -529,7 +529,7 @@ test_expect_success 'prompt - bash color pc mode - branch name' ' printf "BEFORE: (${c_green}\${__git_ps1_branch_name}${c_clear}):AFTER\\nmaster" >expected && ( GIT_PS1_SHOWCOLORHINTS=y && - __git_ps1 "BEFORE:" ":AFTER" >"$actual" + __git_ps1 "BEFORE:" ":AFTER" >"$actual" && printf "%s\\n%s" "$PS1" "${__git_ps1_branch_name}" >"$actual" ) && test_cmp expected "$actual" |