Diff options
-rwxr-xr-xtests/t0201-filters.sh7
1 file changed, 1 insertion, 6 deletions
diff --git a/tests/t0201-filters.sh b/tests/t0201-filters.sh
index a642120..2e59a1d 100755
--- a/tests/t0201-filters.sh
+++ b/tests/t0201-filters.sh
@@ -172,12 +172,7 @@ test_expect_success CGIT_LUA 'a lua filter can encode an argument and include a
end
function filter_close() return 0 end
EOF
- {
- echo "cache-size=0" &&
- echo "repo.url=foo" &&
- echo "repo.path=$PWD/repos/foo/.git" &&
- echo "repo.commit-filter=lua:$PWD/apis.lua"
- } >apisrc &&
+ sed "s|loud.lua|apis.lua|" loudrc >apisrc &&
CGIT_CONFIG="$PWD/apisrc" QUERY_STRING="url=foo/commit" cgit >tmp &&
grep "a+b%26c|included <b>bold</b>" tmp
'