mirror-linux/tools
Geliang Tang e7c42bf4d3 selftests: mptcp: use += operator to append strings
This patch uses addition assignment operator (+=) to append strings
instead of duplicating the variable name in mptcp_connect.sh and
mptcp_join.sh.

This can make the statements shorter.

Note: in mptcp_connect.sh, add a local variable extra in do_transfer to
save the various extra warning logs, using += to append it. And add a
new variable tc_info to save various tc info, also using += to append it.
This can make the code more readable and prepare for the next commit.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240308-upstream-net-next-20240308-selftests-mptcp-unification-v1-8-4f42c347b653@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 15:07:26 -07:00
..
accounting
arch
bootconfig
bpf bpftool: Add an example for struct_ops map and shadow type. 2024-02-29 14:23:53 -08:00
build
certs
cgroup
counter
crypto
debugging
edid
firewire
firmware
gpio
hv
iio
include netdev: add queue stat for alloc failures 2024-03-07 21:13:26 -08:00
kvm/kvm_stat
laptop
leds
lib libbpf: Convert st_ops->data to shadow type. 2024-02-29 14:23:52 -08:00
memory-model
mm
net/ynl tools: ynl-gen: support using pre-defined values in attr checks 2024-03-11 13:07:48 -07:00
objtool
pci
pcmcia
perf
power
rcu
scripts
spi
testing selftests: mptcp: use += operator to append strings 2024-03-11 15:07:26 -07:00
thermal
time
tracing tools/rtla: Exit with EXIT_SUCCESS when help is invoked 2024-02-12 10:59:09 +01:00
usb
verification
virtio tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
wmi
workqueue
Makefile