From 193b079d278e3847fce304b88603bbce5025a3f4 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 10 Oct 2016 03:45:48 +0200 Subject: Revert "trying to fix tests on travis" This reverts commit 84dbde7d04a04434721ec9d2965af6d946713e5d. --- tests/blogc-git-receiver/check_post_receive.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/blogc-git-receiver/check_post_receive.sh b/tests/blogc-git-receiver/check_post_receive.sh index ca1d428..954787b 100755 --- a/tests/blogc-git-receiver/check_post_receive.sh +++ b/tests/blogc-git-receiver/check_post_receive.sh @@ -44,18 +44,18 @@ git init --bare "${TEMP}/repos/bar.git" &> /dev/null HOME="${TEMP}" ${TESTS_ENVIRONMENT} ./hooks/post-receive 2>&1 | tee "${TEMP}/output.txt" grep "warning: repository mirroring disabled" "${TEMP}/output.txt" &> /dev/null -git config remote.mirror.pushurl "${TEMP}/repos/bar.git" +git config --local remote.mirror.pushurl "${TEMP}/repos/bar.git" HOME="${TEMP}" ${TESTS_ENVIRONMENT} ./hooks/post-receive 2>&1 | tee "${TEMP}/output.txt" grep "[new branch] *master" "${TEMP}/output.txt" &> /dev/null -git config --unset remote.mirror.pushurl +git config --local --unset remote.mirror.pushurl rm -rf "${TEMP}/repos/bar.git" git init --bare "${TEMP}/repos/bar.git" &> /dev/null -git config remote.mirror.url "${TEMP}/repos/bar.git" +git config --local remote.mirror.url "${TEMP}/repos/bar.git" HOME="${TEMP}" ${TESTS_ENVIRONMENT} ./hooks/post-receive 2>&1 | tee "${TEMP}/output.txt" grep "[new branch] *master" "${TEMP}/output.txt" &> /dev/null -git config --unset remote.mirror.url +git config --local --unset remote.mirror.url rm -rf "${TEMP}/repos/bar.git" cat > "${TEMP}/blogc-git-receiver.ini" <