From: Felipe Contreras Date: Tue, 28 Mar 2023 17:39:31 GMT Subject: [PATCH 5/6] test: hack for zsh Message-ID: <20230328173932.3614601-6-felipe.contreras@gmail.com> In-Reply-To: <20230328173932.3614601-1-felipe.contreras@gmail.com> See: https://www.zsh.org/mla/workers/2023/msg00336.html Signed-off-by: Felipe Contreras --- t/t4046-diff-unmerged.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t4046-diff-unmerged.sh b/t/t4046-diff-unmerged.sh index 4998a1ce27..ca31771070 100755 --- a/t/t4046-diff-unmerged.sh +++ b/t/t4046-diff-unmerged.sh @@ -21,7 +21,8 @@ test_expect_success setup ' do fpath="$b$o$t" && case "$fpath" in ooo) continue ;; esac && - paths="$paths$fpath " && + : hack for zsh && + { paths="$paths$fpath "; } && p=" $fpath" && case "$b" in x) echo "$m1$p" ;; esac && case "$o" in x) echo "$m2$p" ;; esac && -- 2.39.2.13.g1fb56cf030