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>
This commit is contained in:

committed by
Junio C Hamano

parent
6942a3d796
commit
cb9c9df37a
@ -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
|
||||
|
Reference in New Issue
Block a user