diff options
author | Jakub Narebski <jnareb@gmail.com> | 2011-10-21 20:42:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-10-21 14:34:08 -0700 |
commit | cb9c9df37acf5ff8a452b5fe2eaf7ad6ff8bfb72 (patch) | |
tree | bd5bd5a951291cab6ce29b5f68baa370cb881e02 /t/t9700-perl-git.sh | |
parent | libperl-git: refactor Git::config_* (diff) | |
download | tgif-cb9c9df37acf5ff8a452b5fe2eaf7ad6ff8bfb72.tar.xz |
Add simple test for Git::config_path() in t/t9700-perl-git.sh
Tests "~/foo" path expansion and multiple values.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9700-perl-git.sh')
-rwxr-xr-x | t/t9700-perl-git.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t9700-perl-git.sh b/t/t9700-perl-git.sh index 3787186703..435d896476 100755 --- a/t/t9700-perl-git.sh +++ b/t/t9700-perl-git.sh @@ -43,7 +43,11 @@ test_expect_success \ git config --add test.booltrue true && git config --add test.boolfalse no && git config --add test.boolother other && - git config --add test.int 2k + git config --add test.int 2k && + git config --add test.path "~/foo" && + git config --add test.pathexpanded "$HOME/foo" && + git config --add test.pathmulti foo && + git config --add test.pathmulti bar ' # The external test will outputs its own plan |