From: Junio C Hamano Date: Sat, 5 Jan 2013 00:19:19 +0000 (-0800) Subject: t7406: do not assume the "matching" push is the default X-Git-Tag: v1.8.3-rc0~57^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae74f7d2895121b0931c575173e81a35e8893995;p=thirdparty%2Fgit.git t7406: do not assume the "matching" push is the default Signed-off-by: Junio C Hamano --- diff --git a/t/t7406-submodule-update.sh b/t/t7406-submodule-update.sh index feaec6cdf4..c675ce6297 100755 --- a/t/t7406-submodule-update.sh +++ b/t/t7406-submodule-update.sh @@ -565,14 +565,14 @@ test_expect_success 'submodule add places git-dir in superprojects git-dir recur git log > ../../../expected ) && git commit -m "added subsubmodule" && - git push + git push origin : ) && (cd .git/modules/deeper/submodule/modules/subsubmodule && git log > ../../../../../actual ) && git add deeper/submodule && git commit -m "update submodule" && - git push && + git push origin : && test_cmp actual expected ) '