Code

config: add test cases for empty value and no value config variables.
authorChristian Couder <chriscool@tuxfamily.org>
Thu, 7 Feb 2008 05:23:46 +0000 (06:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2008 22:23:32 +0000 (14:23 -0800)
commitd8e87570c32b190af3991d180f37adb8cf5eb99c
tree56f98cb6272d447963d3c0b42b517ad615b0fb42
parent9386ecbb1cb0576f67da804f57dd96ffd62bb3c6
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