]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: mptcp: connect: better display the files size
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Tue, 14 Jan 2025 18:03:16 +0000 (19:03 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 21:21:15 +0000 (13:21 -0800)
commit540d3f8f1daccde52ed85c9e480586387461eb86
treead475b2684d4fad3755401dc92fc9fec993e2ae3
parentb265c5a174237b33e4973bd385f24db39cc76d26
selftests: mptcp: connect: better display the files size

'du' will print the name of the file, which was already displayed
before, e.g.

  Created /tmp/tmp.UOyy0ghfmQ (size 4703740/tmp/tmp.UOyy0ghfmQ) containing data sent by client
  Created /tmp/tmp.xq3zvFinGo (size 1391724/tmp/tmp.xq3zvFinGo) containing data sent by server

'stat' can be used instead, to display this instead:

  Created /tmp/tmp.UOyy0ghfmQ (size 4703740 B) containing data sent by client
  Created /tmp/tmp.xq3zvFinGo (size 1391724 B) containing data sent by server

So easier to spot the file sizes.

Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250114-net-next-mptcp-st-more-debug-err-v1-6-2ffb16a6cf35@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_connect.sh