aboutsummaryrefslogtreecommitdiff
path: root/tests/t0111-filter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0111-filter.sh')
-rwxr-xr-xtests/t0111-filter.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/t0111-filter.sh b/tests/t0111-filter.sh
index 730f1c0..2fdc366 100755
--- a/tests/t0111-filter.sh
+++ b/tests/t0111-filter.sh
@@ -3,7 +3,12 @@
test_description='Check filtered content'
. ./setup.sh
-for prefix in exec lua
+prefixes="exec"
+if [ $CGIT_HAS_LUA -eq 1 ]; then
+ prefixes="$prefixes lua"
+fi
+
+for prefix in $prefixes
do
test_expect_success "generate filter-$prefix/tree/a%2bb" "
cgit_url 'filter-$prefix/tree/a%2bb' >tmp