t2105 (gitfile): add missing &&

Make sure early failures are not masked by later successes.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Brad King <brad.king@kitware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Nieder 2010-09-06 20:49:10 -05:00 committed by Junio C Hamano
parent dbedf8bf42
commit 76bbcd4382

View File

@ -13,7 +13,7 @@ test_expect_success 'submodule with absolute .git file' '
(cd sub1 &&
git init &&
REAL="$(pwd)/.real" &&
mv .git "$REAL"
mv .git "$REAL" &&
echo "gitdir: $REAL" >.git &&
test_commit first)
'