diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh
index ca5058e0d461b7ab5cc9c3ec908eccf126be32c7..584e956ac5c807a834b8be5fb44e4543cf8172f8 100755 (executable)
--- a/t/t1300-repo-config.sh
+++ b/t/t1300-repo-config.sh
test_cmp expect actual
'
+test_expect_success 'git -c dies on bogus config' '
+ test_must_fail git -c core.bare=foo rev-parse
+'
+
+test_expect_success 'git -c complains about empty key' '
+ test_must_fail git -c "=foo" rev-parse
+'
+
test_done