summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2019-12-22 15:03:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-27 22:15:01 (GMT)
commit20a67e8ce9d19a8903cfe869fedc37c017bdc686 (patch)
tree93971922b5207299aa77c283c9e3558eee13fc3e
parent4cd1cf31efed9b16db5035c377bfa222f5272458 (diff)
downloadgit-20a67e8ce9d19a8903cfe869fedc37c017bdc686.zip
git-20a67e8ce9d19a8903cfe869fedc37c017bdc686.tar.gz
git-20a67e8ce9d19a8903cfe869fedc37c017bdc686.tar.bz2
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>
-rwxr-xr-xt/t3008-ls-files-lazy-init-name-hash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3008-ls-files-lazy-init-name-hash.sh b/t/t3008-ls-files-lazy-init-name-hash.sh
index 64f0473..85f3704 100755
--- a/t/t3008-ls-files-lazy-init-name-hash.sh
+++ b/t/t3008-ls-files-lazy-init-name-hash.sh
@@ -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