t9811: break long && chains into multiple lines

Rewrite single-line && chains by breaking them into multiple lines. Co-authored-by: Vinicius Lira de Freitas <vinilira@usp.br> Signed-off-by: Vinicius Lira de Freitas <vinilira@usp.br> Signed-off-by: Marcelo Machado Lage <marcelomlage@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Marcelo Machado Lage committed Jul 11, 2026 at 13:04 UTC dbe8efd6632d250b1d2638013b70f08bbc587ad6
1 file changed +15 -5
t/t9811-git-p4-label-import.sh
+15 -5
@@ -64,7 +64,9 @@ test_expect_success 'basic p4 labels' '
64 git checkout TAG_F1_ONLY &&
65 ! test -f f2 &&
66 git checkout TAG_WITH\$_SHELL_CHAR &&
67 - test -f f1 && test -f f2 && test -f file_with_\$metachar &&
67 + test -f f1 &&
68 + test -f f2 &&
69 + test -f file_with_\$metachar &&
70
71 git show TAG_LONG_LABEL | grep -q "A Label second line"
72 )
@@ -231,17 +233,25 @@ test_expect_success 'importing labels with missing revisions' '
233 P4CLIENT=missing-revision &&
234 client_view "//depot/missing-revision/... //missing-revision/..." &&
235 cd "$cli" &&
234 - >f1 && p4 add f1 && p4 submit -d "start" &&
236 + >f1 &&
237 + p4 add f1 &&
238 + p4 submit -d "start" &&
239
240 p4 tag -l TAG_S0 ... &&
241
238 - >f2 && p4 add f2 && p4 submit -d "second" &&
242 + >f2 &&
243 + p4 add f2 &&
244 + p4 submit -d "second" &&
245
246 startrev=$(p4_head_revision //depot/missing-revision/...) &&
247
242 - >f3 && p4 add f3 && p4 submit -d "third" &&
248 + >f3 &&
249 + p4 add f3 &&
250 + p4 submit -d "third" &&
251
244 - p4 edit f2 && date >f2 && p4 submit -d "change" f2 &&
252 + p4 edit f2 &&
253 + date >f2 &&
254 + p4 submit -d "change" f2 &&
255
256 endrev=$(p4_head_revision //depot/missing-revision/...) &&
257