[PATCH 5/6] test: hack for zsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



See: https://www.zsh.org/mla/workers/2023/msg00336.html

Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>
---
 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux