<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/tcpreplay/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-24T17:05:46Z</updated>
<entry>
<title>tcpreplay: fix CI tests for the QEMU runtime</title>
<updated>2026-08-24T17:05:46Z</updated>
<author>
<name>Alexandru Ardelean</name>
</author>
<published>2026-08-20T18:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=89f358cf36f4b45a0ed5d1411184a5de8be936c6'/>
<id>urn:sha1:89f358cf36f4b45a0ed5d1411184a5de8be936c6</id>
<content type='text'>
The generic per-executable version probe and the old test.sh both invoke
tcpreplay --version. Under the QEMU test runtime tcpreplay and
tcpreplay-edit abort at startup on the interface link probe
("eth0: SIOCETHTOOL(ETHTOOL_GLINK) ioctl failed: Not a tty") before
autoopts can print the version, which fails the tcpreplay-all test and
warns on the standalone tcpreplay/tcpreplay-edit packages.

Add a test-version.sh that disables the flaky generic probe and asserts
each tool's version without needing an interface, and rewrite test.sh to
exercise the file-processing core (tcpcapinfo dissect, tcprewrite edit,
tcpprep cache) on a small synthesized capture instead of shelling out to
--version, which the CI infrastructure already covers.

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