Subject: Re: [PATCH v3 net-next 3/3] selftests:net: Implement ptp4l sync test using netdevsim

From: Willem de Bruijn <[email-masked]>
Date: Wed, 04 Mar 2026 10:21:51 -0500

Maciek Machnikowski wrote:
> Add PTP synchronization test using ptp4l and netdevsim.
> 
> The test creates two netdevsim adapters, links them together
> and runs the ptp4l leader and ptp4l follower on two ends
> of the netdevsim link and waits for the follower to report the
> synchronized state (s2) in its output log.
> 
> This implementation runs the test runs over IPv4 link.
> 
> Signed-off-by: Maciek Machnikowski <[email-masked]>

> +if [ ! -x "$(command -v ptp4l)" ]; then
> +	echo "ptp4l command not found. Skipping PTP sync test"
> +	exit 4

Prefer to include ktap_helpers.sh and use named exit code KSFT_SKIP