summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorAlessandro Zanni <alessandro.zanni87@gmail.com>2025-09-25 16:28:23 +0300
committerJakub Kicinski <kuba@kernel.org>2025-09-27 01:23:33 +0300
commit81dcfdd21dbd7067068c7c341ee448c3f0d6f115 (patch)
tree675d4fb309fc2f7185698dae5b8e48960c1d57a8 /include/uapi
parent793adf57e2cfa85792989f6d89cb1bba5bcc6df2 (diff)
downloadlinux-81dcfdd21dbd7067068c7c341ee448c3f0d6f115.tar.xz
selftest: net: Fix error message if empty variable
Fix to avoid cases where the `res` shell variable is empty in script comparisons. The comparison has been modified into string comparison to handle other possible values the variable could assume. The issue can be reproduced with the command: make kselftest TARGETS=net It solves the error: ./tfo_passive.sh: line 98: [: -eq: unary operator expected Signed-off-by: Alessandro Zanni <alessandro.zanni87@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250925132832.9828-1-alessandro.zanni87@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions