diff options
author | 2024-02-15 19:25:39 +0100 | |
---|---|---|
committer | 2024-02-18 10:25:01 +0000 | |
commit | 645c1dc965ef6b5554e5e69737bb179c7a0f872f (patch) | |
tree | d0a45e7f8abdf831646e66a352be76ec82c992c8 /net/unix/af_unix.c | |
parent | selftests: mptcp: userspace_pm: unique subtest names (diff) | |
download | wireguard-linux-645c1dc965ef6b5554e5e69737bb179c7a0f872f.tar.xz wireguard-linux-645c1dc965ef6b5554e5e69737bb179c7a0f872f.zip |
selftests: mptcp: diag: unique 'in use' subtest names
It is important to have a unique (sub)test name in TAP, because some CI
environments drop tests with duplicated name.
Some 'in use' subtests from the diag selftest had the same names, e.g.:
chk 0 msk in use after flush
Now the previous value is taken, to have different names, e.g.:
chk 2->0 msk in use after flush
While at it, avoid repeating the full message, declare it once in the
helper.
Fixes: ce9902573652 ("selftests: mptcp: diag: format subtests results in TAP")
Cc: stable@vger.kernel.org
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions