summaryrefslogtreecommitdiff
path: root/t/t2202-add-addremove.sh
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2018-07-02 00:23:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-16 21:38:47 (GMT)
commit2c2d0f9f471348fe440d2eb19c216c4c15d6794a (patch)
tree4d6f4a4267b76ccb78bbe8ca3d36a66a2127a0af /t/t2202-add-addremove.sh
parentf2deabfcb66fdf0fd311a28f6de6704be56b6935 (diff)
downloadgit-2c2d0f9f471348fe440d2eb19c216c4c15d6794a.zip
git-2c2d0f9f471348fe440d2eb19c216c4c15d6794a.tar.gz
git-2c2d0f9f471348fe440d2eb19c216c4c15d6794a.tar.bz2
t2000-t2999: fix broken &&-chains
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2202-add-addremove.sh')
-rwxr-xr-xt/t2202-add-addremove.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/t/t2202-add-addremove.sh b/t/t2202-add-addremove.sh
index 6a5a316..17744e8 100755
--- a/t/t2202-add-addremove.sh
+++ b/t/t2202-add-addremove.sh
@@ -6,12 +6,12 @@ test_description='git add --all'
test_expect_success setup '
(
- echo .gitignore
+ echo .gitignore &&
echo will-remove
) >expect &&
(
- echo actual
- echo expect
+ echo actual &&
+ echo expect &&
echo ignored
) >.gitignore &&
git --literal-pathspecs add --all &&
@@ -25,10 +25,10 @@ test_expect_success setup '
test_expect_success 'git add --all' '
(
- echo .gitignore
- echo not-ignored
- echo "M .gitignore"
- echo "A not-ignored"
+ echo .gitignore &&
+ echo not-ignored &&
+ echo "M .gitignore" &&
+ echo "A not-ignored" &&
echo "D will-remove"
) >expect &&
>ignored &&