Code

Make test-path-utils more robust against incorrect use
authorJohannes Sixt <j6t@kdbg.org>
Sat, 7 Feb 2009 15:08:27 +0000 (16:08 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Feb 2009 20:23:29 +0000 (12:23 -0800)
commit2cd85c40a9f396bb24f7861c832acd52e61c4780
tree6a90b7cc79938c5fbdba4a043bd4d8b695b38ba0
parentab2fdb3b62589477bde0cd0af8239bee510c3488
Make test-path-utils more robust against incorrect use

Previously, this test utility happily returned with exit code 0 if garbage
was thrown at it. Now it reports failure if an unknown function name was
given on the command line.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test-path-utils.c