Skip to content

Commit 036dfd8

Browse files
matttbekuba-moo
authored andcommitted
selftests: mptcp: interpret \n as a new line
In case of errors, this message was printed: (...) balanced bwidth with unbalanced delay 5233 max 5005 [ fail ] client exit code 0, server 0 \nnetns ns3-0-EwnkPH socket stat for 10003: (...) Obviously, the idea was to add a new line before the socket stat and not print "\nnetns". The commit 8b97477 ("selftests: mptcp: interpret \n as a new line") is very similar to this one. But the modification in simult_flows.sh was missed because this commit above was done in parallel to one here below. Fixes: 1a418cb ("mptcp: simult flow self-tests") Signed-off-by: Matthieu Baerts <[email protected]> Acked-by: Paolo Abeni <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent de997e5 commit 036dfd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testing/selftests/net/mptcp/simult_flows.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ do_transfer()
200200

201201
echo " [ fail ]"
202202
echo "client exit code $retc, server $rets" 1>&2
203-
echo "\nnetns ${ns3} socket stat for $port:" 1>&2
203+
echo -e "\nnetns ${ns3} socket stat for $port:" 1>&2
204204
ip netns exec ${ns3} ss -nita 1>&2 -o "sport = :$port"
205-
echo "\nnetns ${ns1} socket stat for $port:" 1>&2
205+
echo -e "\nnetns ${ns1} socket stat for $port:" 1>&2
206206
ip netns exec ${ns1} ss -nita 1>&2 -o "dport = :$port"
207207
ls -l $sin $cout
208208
ls -l $cin $sout

0 commit comments

Comments
 (0)