]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: mptcp: lib: fix shellcheck errors
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 12 Jul 2024 10:00:15 +0000 (12:00 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 22:46:26 +0000 (15:46 -0700)
commit464b99e77b3d024a319db0dabe917d04824039db
treee70c05c97accadc1730a74ee612e7c4805127cbf
parent22767eecd62f7bb5c83541c291297cf24326a997
selftests: mptcp: lib: fix shellcheck errors

It looks like we missed these two errors recently:

  - SC2068: Double quote array expansions to avoid re-splitting elements.
  - SC2145: Argument mixes string and array. Use * or separate argument.

Two simple fixes, it is not supposed to change the behaviour as the
variable names should not have any spaces in their names. Still, better
to fix them to easily spot new issues.

Fixes: f265d3119a29 ("selftests: mptcp: lib: use setup/cleanup_ns helpers")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240712-upstream-net-next-20240712-selftests-mptcp-fix-shellcheck-v1-1-1cb7180db40a@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_lib.sh