<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/uradvd/test-version.sh, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-08-10T17:27:25Z</updated>
<entry>
<title>uradvd: fix the version check override</title>
<updated>2026-08-10T17:27:25Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-08-09T10:18:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=9e4789e5f50b66aa125f6a8de21769b654f7728a'/>
<id>urn:sha1:9e4789e5f50b66aa125f6a8de21769b654f7728a</id>
<content type='text'>
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~&lt;short hash&gt;, 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 &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
</feed>
