OSDN Git Service

selftests: mptcp: userspace pm: fix printed values
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Thu, 9 Mar 2023 14:50:01 +0000 (15:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Mar 2023 05:42:56 +0000 (21:42 -0800)
commit840742b7ed0e123e47af9c5c3902746f3d6b64a2
treed7daff83344eac07684f608d083e946cc640ad02
parent0a3f4f1f9c27215e4ddcd312558342e57b93e518
selftests: mptcp: userspace pm: fix printed values

In case of errors, the printed message had the expected and the seen
value inverted.

This patch simply correct the order: first the expected value, then the
one that has been seen.

Fixes: 10d4273411be ("selftests: mptcp: userspace: print error details if any")
Cc: stable@vger.kernel.org
Acked-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/userspace_pm.sh