]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: net: Remove unnecessary backslashes in fq_band_pktlimit.sh
authorYohei Kojima <yk@y-koj.net>
Tue, 24 Mar 2026 17:20:28 +0000 (02:20 +0900)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Mar 2026 01:48:44 +0000 (18:48 -0700)
commit5f70b0aa08ada1004259902dbee3b401ac2f7dcb
tree44f4bea03034412de58bffc5464ad6ee00288c2b
parente1877cf6231152ff4686bd9900a6a88ffdd90f84
selftests: net: Remove unnecessary backslashes in fq_band_pktlimit.sh

Address "grep: warning: stray \ before white space" warning from GNU
grep 3.12. This warns the misplaced backslashes before whitespaces
(e.g. \\' ' or '\ ') which leads to unspecified behavior [1].

We can just remove the backslashes before whitespaces as POSIX says:

  Enclosing characters in single-quotes ('') shall preserve the literal
  value of each character within the single-quotes.

and bourne-compatible shells behave so.

[1]: https://lists.gnu.org/r/bug-gnulib/2022-05/msg00057.html

Signed-off-by: Yohei Kojima <yk@y-koj.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/dd0bbd48cdf468da56ec34fd61cecd4d2111d7ba.1774372510.git.yk@y-koj.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/fq_band_pktlimit.sh