]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: interpret \n as a new line
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Wed, 16 Sep 2020 13:13:51 +0000 (15:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2020 23:26:09 +0000 (16:26 -0700)
commit7d7df4bf8e271e31fab8c25587f9f9a68745e209
treea4c295a2aa14d6f7f0365fe85b4fedaa876173e0
parent62d471f03a49641629ce50e357c6a890d3a9046c
selftests: mptcp: interpret \n as a new line

In case of errors, this message was printed:

  (...)
  # read: Resource temporarily unavailable
  #  client exit code 0, server 3
  # \nnetns ns1-0-BJlt5D socket stat for 10003:
  (...)

Obviously, the idea was to add a new line before the socket stat and not
print "\nnetns".

Fixes: b015dfff4398 ("selftests: add test-cases for MPTCP MP_JOIN")
Fixes: 40e38737120b ("mptcp: add basic kselftest for mptcp")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_connect.sh
tools/testing/selftests/net/mptcp/mptcp_join.sh