t7000-t7999: 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:
Eric Sunshine
2018-07-01 20:24:03 -04:00
committed by Junio C Hamano
parent c8ce3763ff
commit e974e06de0
7 changed files with 57 additions and 57 deletions

View File

@ -193,9 +193,9 @@ test_expect_success 'status with added and untracked file in modified submodule
test_expect_success 'setup .git file for sub' '
(cd sub &&
rm -f new-file
rm -f new-file &&
REAL="$(pwd)/../.real" &&
mv .git "$REAL"
mv .git "$REAL" &&
echo "gitdir: $REAL" >.git) &&
echo .real >>.gitignore &&
git commit -m "added .real to .gitignore" .gitignore
@ -209,12 +209,12 @@ test_expect_success 'status with added file in modified submodule with .git file
test_expect_success 'status with a lot of untracked files in the submodule' '
(
cd sub
cd sub &&
i=0 &&
while test $i -lt 1024
do
>some-file-$i
i=$(( $i + 1 ))
>some-file-$i &&
i=$(( $i + 1 )) || exit 1
done
) &&
git status --porcelain sub 2>err.actual &&