![]() BusyBox's 'cmp' command doesn't support the '--bytes' parameter.
Some CIs -- i.e. LKFT -- use BusyBox and have the mptcp_join.sh test
failing [1] because their 'cmp' command doesn't support this '--bytes'
option:
cmp: unrecognized option '--bytes=1024'
BusyBox v1.35.0 () multi-call binary.
Usage: cmp [-ls] [-n NUM] FILE1 [FILE2]
Instead, 'head --bytes' can be used as this option is supported by
BusyBox. A temporary file is needed for this operation.
Because it is apparently quite common to use BusyBox, it is certainly
better to backport this fix to impacted kernels.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
config | ||
diag.sh | ||
mptcp_connect.c | ||
mptcp_connect.sh | ||
mptcp_inq.c | ||
mptcp_join.sh | ||
mptcp_sockopt.c | ||
mptcp_sockopt.sh | ||
pm_netlink.sh | ||
pm_nl_ctl.c | ||
settings | ||
simult_flows.sh | ||
userspace_pm.sh |