From 98413d860472fcd206c12cf6365a8aa47ea44bae Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 22:19:44 -1000 Subject: Claim and test Lua 5.5 for every extension luaossl from release 20260910 and luaposix load under Lua 5.5, and cgit renders the same pages under it as under LuaJIT. Running the suites there already caught a write to a for loop's control variable, which 5.5 makes read-only. --- tests/t0501-about-render.sh | 2 +- tests/t0503-link-commits.sh | 2 +- tests/t0504-email-avatar.sh | 2 +- tests/t0505-auth.sh | 2 +- tests/t0506-link-trailers.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/t0501-about-render.sh b/tests/t0501-about-render.sh index f339526..263c79b 100755 --- a/tests/t0501-about-render.sh +++ b/tests/t0501-about-render.sh @@ -13,7 +13,7 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh . "$TEST_OUTPUT_DIRECTORY/extensions/lib.sh" -interpreters=$(ext_lua_interpreters 4) +interpreters=$(ext_lua_interpreters 5) test -z "$interpreters" && say 'no standalone lua on the path, unit checks skipped' diff --git a/tests/t0503-link-commits.sh b/tests/t0503-link-commits.sh index fc7d618..e6e8816 100755 --- a/tests/t0503-link-commits.sh +++ b/tests/t0503-link-commits.sh @@ -11,7 +11,7 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh . "$TEST_OUTPUT_DIRECTORY/extensions/lib.sh" -interpreters=$(ext_lua_interpreters 4) +interpreters=$(ext_lua_interpreters 5) test -z "$interpreters" && say 'no standalone lua on the path, unit checks skipped' diff --git a/tests/t0504-email-avatar.sh b/tests/t0504-email-avatar.sh index c1869b4..ec1f5da 100755 --- a/tests/t0504-email-avatar.sh +++ b/tests/t0504-email-avatar.sh @@ -14,7 +14,7 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh . "$TEST_OUTPUT_DIRECTORY/extensions/lib.sh" -interpreters=$(ext_lua_interpreters 4) +interpreters=$(ext_lua_interpreters 5) test -z "$interpreters" && say 'no standalone lua on the path, unit checks skipped' diff --git a/tests/t0505-auth.sh b/tests/t0505-auth.sh index 526840d..be0f0ce 100755 --- a/tests/t0505-auth.sh +++ b/tests/t0505-auth.sh @@ -13,7 +13,7 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh . "$TEST_OUTPUT_DIRECTORY/extensions/lib.sh" -interpreters=$(ext_lua_interpreters 4) +interpreters=$(ext_lua_interpreters 5) test -z "$interpreters" && say 'no standalone lua on the path, unit checks skipped' diff --git a/tests/t0506-link-trailers.sh b/tests/t0506-link-trailers.sh index 39e22e7..c2e4f91 100755 --- a/tests/t0506-link-trailers.sh +++ b/tests/t0506-link-trailers.sh @@ -11,7 +11,7 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease . ./setup.sh . "$TEST_OUTPUT_DIRECTORY/extensions/lib.sh" -interpreters=$(ext_lua_interpreters 4) +interpreters=$(ext_lua_interpreters 5) test -z "$interpreters" && say 'no standalone lua on the path, unit checks skipped' -- cgit