test: fix '&&' chaining

Breaks in a test assertion's && chain can potentially hide failures from
earlier commands in the chain by adding " &&" at the end of line to the
commands that need them.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ramkumar Ramachandra
2011-12-08 18:40:17 +05:30
committed by Junio C Hamano
parent 2f139044f9
commit 02380389c6
10 changed files with 17 additions and 17 deletions

View File

@ -34,7 +34,7 @@ assert_blob_equals() {
}
test_expect_success setup '
cp -R "$TEST_DIRECTORY/t1013/objects" .git/
cp -R "$TEST_DIRECTORY/t1013/objects" .git/ &&
git --version
'