Re: [PATCH net-next v2] selftests: net: add tests for the QRTR socket family

From: Murali Krishna

Date: Wed Dec 02 2026 - 06:57:58 EST


On Wed, Dec 02, 2026 at 05:17:56PM +0800, Hangbin Liu wrote:
> The commit description is too long, maybe shorter it?

Sure, I have shortened it in v3.

> We build qrtr-tun as a module. If the user hasn't loaded it, the test skips with:
>
> no /dev/qrtr-tun: modprobe qrtr-tun, or CONFIG_QRTR_TUN=n
>
> Should we try loading it inside the test script?

Yes, thanks for catching this. With the module present but not
loaded, qrtr_endpoint skips all 13 tests and still prints
"PASSED: 13 / 13", which hides the problem.

v3 adds a qrtr.sh that loads qrtr and qrtr-tun and then runs both
programs. Run as root on the same machine, everything runs:

# Totals: pass:12 fail:0 xfail:0 xpass:0 skip:0 error:0
# Totals: pass:13 fail:0 xfail:0 xpass:0 skip:0 error:0

I will send v3 shortly.

Thanks,
Murali