add a test for semantic errors in config files
commit79e9ce21fa728edef5b7db12710ae24e091b8f9f
authorTanay Abhra <tanayabh@gmail.com>
Thu, 7 Aug 2014 11:59:18 +0000 (7 04:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Aug 2014 18:41:18 +0000 (7 11:41 -0700)
tree928f18afabd86a25b028275f6fd03219ba1eeb46
parent155ef25f12329258c06b8875b5e372abec2d348d
add a test for semantic errors in config files

Semantic errors (for example, for alias.* variables NULL values are
not allowed) in configuration files cause a die printing the line
number and file name of the offending value.

Add a test documenting that such errors cause a die printing the
accurate line number and file name.

Signed-off-by: Tanay Abhra <tanayabh@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1308-config-set.sh