Diff options
Diffstat (limited to 'tests/t0507-hooks.sh')
-rwxr-xr-xtests/t0507-hooks.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0507-hooks.sh b/tests/t0507-hooks.sh
index 9211f8b..ec31546 100755
--- a/tests/t0507-hooks.sh
+++ b/tests/t0507-hooks.sh
@@ -32,8 +32,8 @@ test_expect_success 'set up a cache of two repositories and the index' '
CGIT_CONFIG="$PWD/cachedrc" PATH_INFO="$page" QUERY_STRING= cgit >/dev/null ||
return 1
done &&
- CGIT_CONFIG="$PWD/cachedrc" QUERY_STRING="url=a.git/refs/" cgit >/dev/null &&
- CGIT_CONFIG="$PWD/cachedrc" QUERY_STRING="url=b.git/refs/" cgit >/dev/null &&
+ cgit_rc cachedrc "url=a.git/refs/" >/dev/null &&
+ cgit_rc cachedrc "url=b.git/refs/" >/dev/null &&
echo writer >slots/0123abcd.lock &&
cp -R slots pristine &&
sed -e "s|^cache_root=.*|cache_root='\''$PWD/slots'\''|" \