test-lib-functions.sh: fix the second argument to some helper functions
commitde248e92c18136a733587949b7d95e7b9c98eb0e
authorElia Pinto <gitter.spiros@gmail.com>
Thu, 16 Apr 2015 14:12:07 +0000 (16 07:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Apr 2015 20:31:35 +0000 (16 13:31 -0700)
tree1d1baa3113c22bf877699b60cbe77dc7d353fd76
parent12a29b1a50d47594eb3a29003e3f1eb540580aaa
test-lib-functions.sh: fix the second argument to some helper functions

The second argument to test_path_is_file and test_path_is_dir
must be $2 and not $*, which instead would repeat the file
name in the error message.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib-functions.sh