Diff options
Diffstat (limited to 'tests/t0006-nolua.sh')
-rwxr-xr-xtests/t0006-nolua.sh7
1 file changed, 1 insertion, 6 deletions
diff --git a/tests/t0006-nolua.sh b/tests/t0006-nolua.sh
index 86ae47d..cd35fca 100755
--- a/tests/t0006-nolua.sh
+++ b/tests/t0006-nolua.sh
@@ -23,12 +23,7 @@ test_expect_success 'the binary reports no Lua' '
'
test_expect_success 'it serves a page' '
- {
- echo "virtual-root=/" &&
- echo "cache-size=0" &&
- echo "repo.url=foo" &&
- echo "repo.path=$PWD/repos/foo/.git"
- } >plainrc &&
+ cgitrc_repo plainrc foo &&
nolua_query plainrc "url=foo/log/" >tmp &&
grep "^Status: 200" tmp &&
grep ">commit 5</a>" tmp