config: add test cases for empty value and no value config variables.
commit09bc098c2db106469f79eae5e4f6a3bc09c0db12
authorChristian Couder <chriscool@tuxfamily.org>
Thu, 7 Feb 2008 05:23:46 +0000 (7 06:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Feb 2008 06:48:07 +0000 (6 22:48 -0800)
tree58300b15d58b01617aae5e50e3a9753336851b30
parente75201963f6722ad84491c8f17dff8406ec0a198
config: add test cases for empty value and no value config variables.

The tests in 't1300-repo-config.sh' did not check what happens when
an empty value like the following is used in the config file:

[emptyvalue]
variable =

Also it was not checked that a variable with no value like the
following:

[novalue]
variable

gives a boolean "true" value, while an ampty value gives a boolean
"false" value.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-repo-config.sh