Diff options
Diffstat (limited to '')
-rwxr-xr-xtests/t0109-patch.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0109-patch.sh b/tests/t0109-patch.sh
index 5c528fc..52f2abc 100755
--- a/tests/t0109-patch.sh
+++ b/tests/t0109-patch.sh
@@ -60,7 +60,7 @@ test_expect_success 'max-patch-count bounds a patch range' '
echo "repo.url=foo" &&
echo "repo.path=$PWD/repos/foo/.git"
} >patchcountrc &&
- CGIT_CONFIG="$PWD/patchcountrc" QUERY_STRING="url=foo/patch&id=$id&id2=$root" cgit >tmp &&
+ cgit_rc patchcountrc "url=foo/patch&id=$id&id2=$root" >tmp &&
test $(grep -c "^From " tmp) -eq 2
'
@@ -69,7 +69,7 @@ test_expect_success 'the signature names the version when asked to' '
echo "enable-version-info=1" &&
sed "s/^cache-size=.*/cache-size=0/" cgitrc
} >versionrc &&
- CGIT_CONFIG="$PWD/versionrc" QUERY_STRING="url=foo/patch" cgit >tmp &&
+ cgit_rc versionrc "url=foo/patch" >tmp &&
check_cgit_signature "$CGIT_VERSION"
'