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