This ensures that we don't end up reading a configuration later for some
specific view.

Signed-off-by: John Keeping <[email protected]>
---
 tests/t0109-gitconfig.sh | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh
index 31d18b5..154a595 100755
--- a/tests/t0109-gitconfig.sh
+++ b/tests/t0109-gitconfig.sh
@@ -27,4 +27,36 @@ test_expect_success 'no access to $HOME' '
        test_no_home_access ""
 '
 
+test_expect_success 'foo' '
+       test_no_home_access foo
+'
+
+test_expect_success 'foo/refs' '
+       test_no_home_access foo/refs
+'
+
+test_expect_success 'foo/log' '
+       test_no_home_access foo/log
+'
+
+test_expect_success 'foo/tree' '
+       test_no_home_access foo/tree
+'
+
+test_expect_success 'foo/tree/file-1' '
+       test_no_home_access foo/tree/file-1
+'
+
+test_expect_success 'foo/commit' '
+       test_no_home_access foo/commit
+'
+
+test_expect_success 'foo/diff' '
+       test_no_home_access foo/diff
+'
+
+test_expect_success 'foo/patch' '
+       test_no_home_access foo/patch
+'
+
 test_done
-- 
1.8.2.694.ga76e9c3.dirty


_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to