Browse Source

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>
maint
Jonathan Nieder 15 years ago committed by Junio C Hamano
parent
commit
76bbcd4382
  1. 2
      t/t2105-update-index-gitfile.sh

2
t/t2105-update-index-gitfile.sh

@ -13,7 +13,7 @@ test_expect_success 'submodule with absolute .git 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)
'

Loading…
Cancel
Save