aboutsummaryrefslogtreecommitdiff
path: root/t/t1308-config-set.sh
Commit message (Collapse)AuthorAge
* Merge branch 'ta/config-set'Junio C Hamano2014-10-20
|\ | | | | | | | | * ta/config-set: t1308: fix broken here document in test script
| * t1308: fix broken here document in test scriptJunio C Hamano2014-10-13
| | | | | | | | Signed-off-by: Junio C Hamano <gitster@pobox.com>
* | add tests for `git_config_get_string_const()`Tanay Abhra2014-08-07
| | | | | | | | | | | | | | | | | | | | Add tests for `git_config_get_string_const()`, check whether it dies printing the line number and the file name if a NULL value is retrieved for the given key. 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>
* | add a test for semantic errors in config filesTanay Abhra2014-08-07
|/ | | | | | | | | | | | | 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>
* test-config: add tests for the config_set APITanay Abhra2014-07-29
Expose the `config_set` C API as a set of simple commands in order to facilitate testing. Add tests for the `config_set` API as well as for `git_config_get_*()` family for the usual config files. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>