Skip to content

Commit 20a67e8

Browse files
j6tgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4cd1cf3 commit 20a67e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3008-ls-files-lazy-init-name-hash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test_description='Test the lazy init name hash with various folder structures'
44

55
. ./test-lib.sh
66

7-
if test 1 -eq $($GIT_BUILD_DIR/t/helper/test-tool online-cpus)
7+
if test 1 -eq $(test-tool online-cpus)
88
then
99
skip_all='skipping lazy-init tests, single cpu'
1010
test_done

0 commit comments

Comments
 (0)