From: W. Trevor King Date: Mon, 3 Dec 2012 12:15:08 +0000 (-0500) Subject: t7400: init does not copy URL into superproject's config X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c89eff0adef6f69a06ae20887024ab84782495d5;p=git.git t7400: init does not copy URL into superproject's config But we still need to fix it for future tests, because the initial value used during `add` was bogus (git://example.com/init.git). Signed-off-by: W. Trevor King --- diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh index 539703749..f6c53e2cb 100755 --- a/t/t7400-submodule-basic.sh +++ b/t/t7400-submodule-basic.sh @@ -248,14 +248,10 @@ test_expect_success 'status should initially be "missing"' ' grep "^-$rev1" lines ' -test_expect_success 'init should register submodule url in .git/config' ' - echo git://example.com/init.git >expect && - +test_expect_success 'init should register submodule active in .git/config' ' git submodule init && - git config submodule.example.url >url && git config submodule.example.url ./.subrepo && - - test_cmp expect url + test "$(git config submodule.example.active)" = "true" ' test_failure_with_unknown_submodule () {