Diff options
Diffstat (limited to 'tests/setup.sh')
-rwxr-xr-xtests/setup.sh5
1 file changed, 3 insertions, 2 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index a1f2d15..642faab 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -69,9 +69,10 @@ FILTER_DIRECTORY=$(cd "$TEST_OUTPUT_DIRECTORY/filters" && pwd)
# them have to ask the binary rather than assume.
if cgit --version | grep -F -q "[+] Lua scripting"
then
- export CGIT_HAS_LUA=1
+ CGIT_HAS_LUA=1
+ test_set_prereq CGIT_LUA
else
- export CGIT_HAS_LUA=0
+ CGIT_HAS_LUA=0
fi
# Creates a repository holding the given number of one file commits. A third