test-bzr.sh, test-hg.sh: allow running from any dir
commitd3243d738ddcf1a9cf6c8bd63f66c57080f1040b
authorFelipe Contreras <felipe.contreras@gmail.com>
Mon, 18 Nov 2013 04:12:44 +0000 (17 23:12 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2013 21:45:57 +0000 (18 13:45 -0800)
tree136bfb327c3090f8e05d0864624d79ca2a8ddf9a
parent85176d725134446ca2b8585d85f8fbd2daf45515
test-bzr.sh, test-hg.sh: allow running from any dir

Set TEST_DIRECTORY to the t/ directory (if TEST_DIRECTORY is not
already set) so that the user doesn't already have to be in the test
directory to run these test scripts.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Based-on-patch-by: Richard Hansen <rhansen@bbn.com>
Reviewed-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/test-bzr.sh
contrib/remote-helpers/test-hg.sh