perf: make the tests work in worktrees
[gitweb.git] / t / test-lib.sh
index 79afa8748eec6c8a9dece4db58c6efcfb343f2ae..286c5f33d1e7bac81045293f78d2adf69ce8378c 100644 (file)
@@ -854,10 +854,10 @@ test -d "$GIT_BUILD_DIR"/templates/blt || {
        error "You haven't built things yet, have you?"
 }
 
-if ! test -x "$GIT_BUILD_DIR"/test-chmtime
+if ! test -x "$GIT_BUILD_DIR"/t/helper/test-chmtime
 then
        echo >&2 'You need to build test-chmtime:'
-       echo >&2 'Run "make test-chmtime" in the source (toplevel) directory'
+       echo >&2 'Run "make t/helper/test-chmtime" in the source (toplevel) directory'
        exit 1
 fi