summaryrefslogtreecommitdiff
path: root/t/t7400-submodule-basic.sh
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-07-25 21:39:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-02 21:35:08 (GMT)
commit5ea50954d0632342d38bd1a4d86c5aa601ef5207 (patch)
treeb1a1a625c02e243f850d9d609812a93522913725 /t/t7400-submodule-basic.sh
parenta46ddc992bbac524fb325875c5555dbae0c6355b (diff)
downloadgit-5ea50954d0632342d38bd1a4d86c5aa601ef5207.zip
git-5ea50954d0632342d38bd1a4d86c5aa601ef5207.tar.gz
git-5ea50954d0632342d38bd1a4d86c5aa601ef5207.tar.bz2
t7411: check configuration parsing errors
Check for configuration parsing errors in '.gitmodules' in t7411, which is explicitly testing the submodule-config subsystem, instead of in t7400. Also explicitly use the test helper instead of relying on the gitmodules file from being read in status. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7400-submodule-basic.sh')
-rwxr-xr-xt/t7400-submodule-basic.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index dcac364..7174475 100755
--- a/t/t7400-submodule-basic.sh
+++ b/t/t7400-submodule-basic.sh
@@ -46,16 +46,6 @@ test_expect_success 'submodule update aborts on missing gitmodules url' '
test_must_fail git submodule init
'
-test_expect_success 'configuration parsing' '
- test_when_finished "rm -f .gitmodules" &&
- cat >.gitmodules <<-\EOF &&
- [submodule "s"]
- path
- ignore
- EOF
- test_must_fail git status
-'
-
test_expect_success 'setup - repository in init subdirectory' '
mkdir init &&
(