Extend parse-options test suite
commit010a2dacc1acf3305e399ef1eb2e620110b95d5e
authorStephan Beyer <s-beyer@gmx.net>
Sun, 22 Jun 2008 15:04:26 +0000 (22 17:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jun 2008 01:15:18 +0000 (22 18:15 -0700)
treef65d1bc57a86ae4b1ec7efe474741bfcebd7e56d
parent224712e521c6d4f740045affa4d1ee1454db10d4
Extend parse-options test suite

This patch serves two purposes:
 1. test-parse-option.c should be a more complete
    example for the parse-options API, and
 2. there have been no tests for OPT_CALLBACK,
    OPT_DATE, OPT_BIT, OPT_SET_INT and OPT_SET_PTR
    before.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0040-parse-options.sh
test-parse-options.c