t3008: find test-tool through path lookup
Do not use $GIT_BUILD_DIR without quotes; it may contain spaces and be split into fields. But it is not necessary to access test-tool with an absolute path in the first place as it can be found via path lookup. Remove the explicit path. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
4cd1cf31ef
commit
20a67e8ce9
@ -4,7 +4,7 @@ test_description='Test the lazy init name hash with various folder structures'
|
|||||||
|
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
if test 1 -eq $($GIT_BUILD_DIR/t/helper/test-tool online-cpus)
|
if test 1 -eq $(test-tool online-cpus)
|
||||||
then
|
then
|
||||||
skip_all='skipping lazy-init tests, single cpu'
|
skip_all='skipping lazy-init tests, single cpu'
|
||||||
test_done
|
test_done
|
||||||
|
Reference in New Issue
Block a user