t2000-t2999: fix broken &&-chains
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
f2deabfcb6
commit
2c2d0f9f47
@ -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 &&
|
||||
|
Reference in New Issue
Block a user