luajit2: update test-version.sh to actual test
authorSeo Suchan <redacted>
Sun, 7 Jun 2026 21:32:24 +0000 (06:32 +0900)
committerJosef Schlehofer <redacted>
Tue, 9 Jun 2026 10:14:09 +0000 (12:14 +0200)
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: c7ca6d46f700 luajit2: ("add test-version.sh")
Suggested-by: Josef Schlehofer <redacted>
Signed-off-by: Seo Suchan <redacted>
lang/lua/luajit2/test-version.sh

index 236bc554dcefe6407f94d2731e0f1b79eadabec3..818f2a1dfba261648f66ca80f71d9714892546d0 100644 (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
git clone https://git.99rst.org/PROJECT