t2000-t2999: fix broken &&-chains

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Jul 1, 2018 at 20:23 UTC 2c2d0f9f471348fe440d2eb19c216c4c15d6794a
2 files changed +8 -8
t/t2103-update-index-ignore-missing.sh
+1 -1
@@ -32,7 +32,7 @@ test_expect_success basics '
32 test_create_repo xyzzy &&
33 cd xyzzy &&
34 >file &&
35 - git add file
35 + git add file &&
36 git commit -m "sub initial"
37 ) &&
38 git add xyzzy &&
t/t2202-add-addremove.sh
+7 -7
@@ -6,12 +6,12 @@ test_description='git add --all'
6
7 test_expect_success setup '
8 (
9 - echo .gitignore
9 + echo .gitignore &&
10 echo will-remove
11 ) >expect &&
12 (
13 - echo actual
14 - echo expect
13 + echo actual &&
14 + echo expect &&
15 echo ignored
16 ) >.gitignore &&
17 git --literal-pathspecs add --all &&
@@ -25,10 +25,10 @@ test_expect_success setup '
25
26 test_expect_success 'git add --all' '
27 (
28 - echo .gitignore
29 - echo not-ignored
30 - echo "M .gitignore"
31 - echo "A not-ignored"
28 + echo .gitignore &&
29 + echo not-ignored &&
30 + echo "M .gitignore" &&
31 + echo "A not-ignored" &&
32 echo "D will-remove"
33 ) >expect &&
34 >ignored &&