<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/admin/sudo/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:17:56Z</updated>
<entry>
<title>sudo: add test-version.sh and stop running sudo in tests</title>
<updated>2026-08-10T17:17:56Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-08-10T09:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=8c8875c1f6f8eb11ca504f2abb3145c960a59081'/>
<id>urn:sha1:8c8875c1f6f8eb11ca504f2abb3145c960a59081</id>
<content type='text'>
PKG_VERSION substitutes p-&gt;_p (1.9.17_p2) for a valid apk version, but the
binaries print the real 1.9.17p2, so the generic per-executable version
probe reports "no executables provided version" and fails. Add a
test-version.sh that matches the version string compiled into the binary.

Executing sudo under QEMU emulation (e.g. mips_24kc) hangs indefinitely, so
neither test-version.sh nor test.sh runs it any more: the version is read
from the binary and test.sh only checks the installed files.

Signed-off-by: Alexandru Ardelean &lt;alex@shruggie.ro&gt;
</content>
</entry>
</feed>
