aboutsummaryrefslogtreecommitdiff
path: root/tests/t0111-filter.sh
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0111-filter.sh')
-rwxr-xr-xtests/t0111-filter.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/t0111-filter.sh b/tests/t0111-filter.sh
index 2fdc366..c89020a 100755
--- a/tests/t0111-filter.sh
+++ b/tests/t0111-filter.sh
@@ -3,12 +3,7 @@
test_description='Check filtered content'
. ./setup.sh
-prefixes="exec"
-if [ $CGIT_HAS_LUA -eq 1 ]; then
- prefixes="$prefixes lua"
-fi
-
-for prefix in $prefixes
+for prefix in exec lua
do
test_expect_success "generate filter-$prefix/tree/a%2bb" "
cgit_url 'filter-$prefix/tree/a%2bb' >tmp
@@ -35,11 +30,11 @@ do
'
test_expect_success "check whether the $prefix email filter works for authors" '
- grep "<author@example.com> commit A U THOR &LT;AUTHOR@EXAMPLE.COM&GT;" tmp
+ grep "A U THOR &LT;AUTHOR@EXAMPLE.COM&GT;" tmp
'
test_expect_success "check whether the $prefix email filter works for committers" '
- grep "<committer@example.com> commit C O MITTER &LT;COMMITTER@EXAMPLE.COM&GT;" tmp
+ grep "C O MITTER &LT;COMMITTER@EXAMPLE.COM&GT;" tmp
'
done