mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 03:47:10 +04:00
The script greps for "uradvd $PKG_SOURCE_DATE", but the test harness only exports PKG_NAME, PKG_VERSION and CI_HELPERS. PKG_SOURCE_DATE is a build time Makefile variable and is empty in the test container, so the grep -Fx pattern is "uradvd " and never matches. The binary is built with VERSION=$(PKG_SOURCE_DATE) and prints "uradvd 2025-09-20", while PKG_VERSION is 2025.09.20~<short hash>, so derive the date from the version instead. Rename it to test-version.sh in the process: the generic probe looks for PKG_VERSION verbatim and cannot match the dashed date either, and uradvd is the only executable in the package, so without an override the whole package fails. The shebang goes back to /bin/sh, which is what the harness runs the script with. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>