diff --git a/t/t5540-http-push.sh b/t/t5540-http-push.sh
index f8c17cd96cc86ca8f2db2ff51467f712d65f8956..da9588645cd9d0054440e5ed3ba14f630c44f506 100755 (executable)
--- a/t/t5540-http-push.sh
+++ b/t/t5540-http-push.sh
exit
fi
exit
fi
-. ../lib-httpd.sh
+. "$TEST_DIRECTORY"/lib-httpd.sh
if ! start_httpd >&3 2>&4
then
if ! start_httpd >&3 2>&4
then
git clone --bare test_repo test_repo.git &&
cd test_repo.git &&
git --bare update-server-info &&
git clone --bare test_repo test_repo.git &&
cd test_repo.git &&
git --bare update-server-info &&
- chmod +x hooks/post-update &&
+ mv hooks/post-update.sample hooks/post-update &&
cd - &&
mv test_repo.git "$HTTPD_DOCUMENT_ROOT_PATH"
'
cd - &&
mv test_repo.git "$HTTPD_DOCUMENT_ROOT_PATH"
'