Skip to content

Commit

Permalink
t3008: find test-tool through path lookup
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
j6t authored and gitster committed Dec 27, 2019
1 parent 4cd1cf3 commit 20a67e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t3008-ls-files-lazy-init-name-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test_description='Test the lazy init name hash with various folder structures'

. ./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
skip_all='skipping lazy-init tests, single cpu'
test_done
Expand Down

0 comments on commit 20a67e8

Please sign in to comment.