luajit2: update test-version.sh to actual test

old just disabled version test, but as LuaJIt 2.1. part is stable.
So we can use that for test if luajit2 itself able to run.

Fixes: c7ca6d46f7 luajit2: ("add test-version.sh")
Suggested-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
This commit is contained in:
Seo Suchan
2026-06-08 06:32:24 +09:00
committed by Josef Schlehofer
parent de4f8fe9e3
commit 5504291b81
+1 -2
View File
@@ -4,9 +4,8 @@
case "$PKG_NAME" in #luajit2 use build number at -v but releases are named by date
luajit2)
exit 0
luajit2 -v 2>&1 | grep -F "LuaJIT 2.1."
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1