t7409: make sure submodule is initialized and updated in more detail
The earlier test did not even make sure that the correct commit is
checked out in the submodule directory. Inspect the result in a bit
more detail.
Signed-off-by: Daniel Graña <dangra@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Daniel Graña13 years agocommitted byJunio C Hamano
@ -42,6 +59,7 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
@@ -42,6 +59,7 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
git clone --bare ../remote "$GIT_DIR" &&
git config core.bare false &&
git config core.worktree .. &&
git checkout master &&
git submodule add ../bundle1 .vim/bundle/dupe &&
test_commit "dupe" &&
git push origin master
@ -52,9 +70,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
@@ -52,9 +70,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '