aboutsummaryrefslogtreecommitdiffstats
path: root/t/t7420-submodule-set-url.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7420-submodule-set-url.sh')
-rwxr-xr-xt/t7420-submodule-set-url.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7420-submodule-set-url.sh b/t/t7420-submodule-set-url.sh
index d6bf62b3ac..aa63d806fe 100755
--- a/t/t7420-submodule-set-url.sh
+++ b/t/t7420-submodule-set-url.sh
@@ -49,7 +49,7 @@ test_expect_success 'test submodule set-url' '
cd super &&
test_must_fail git submodule update --remote &&
git submodule set-url submodule ../newsubmodule &&
- grep -F "url = ../newsubmodule" .gitmodules &&
+ test_cmp_config ../newsubmodule -f .gitmodules submodule.submodule.url &&
git submodule update --remote
) &&
git -C super/submodule show >actual &&