diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2022-09-23 23:00:12 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-26 22:22:00 +0200 |
commit | 7d45b5fd27b4ca53c19dba79d9d4936d6cb0f0ca (patch) | |
tree | 2dbfd5d5d738dc330822358b39e0027a4290be03 /tools | |
parent | net: ethernet: adin1110: Add missing MODULE_DEVICE_TABLE (diff) | |
download | linux-7d45b5fd27b4ca53c19dba79d9d4936d6cb0f0ca.tar.xz linux-7d45b5fd27b4ca53c19dba79d9d4936d6cb0f0ca.zip |
selftests: net: tsn_lib: don't overwrite isochron receiver extra args with UDS
The extra_args argument ($3) of isochron_recv_start is overwritten with
uds ($2), if that argument exists.
This is currently not a problem, because the only TSN selftest
(ocelot/psfp.sh) omits remote sync so it does not specify to the
receiver a UNIX domain socket for ptp4l. So $uds is currently an empty
string.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/net/forwarding/tsn_lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/tsn_lib.sh b/tools/testing/selftests/net/forwarding/tsn_lib.sh index 60a1423e8116..1c8e36c56f32 100644 --- a/tools/testing/selftests/net/forwarding/tsn_lib.sh +++ b/tools/testing/selftests/net/forwarding/tsn_lib.sh @@ -139,7 +139,7 @@ isochron_recv_start() local extra_args=$3 if ! [ -z "${uds}" ]; then - extra_args="--unix-domain-socket ${uds}" + extra_args="${extra_args} --unix-domain-socket ${uds}" fi isochron rcv \ |