diff options
author | Gal Pressman <gal@nvidia.com> | 2025-07-23 16:54:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-24 18:52:00 -0700 |
commit | b4d52c698210ae1a3ceb487b189701bc70551a48 (patch) | |
tree | f58ac104acf0f58a51f6e9b6cd2777b831184086 /net/unix/sysctl_net_unix.c | |
parent | 4335012705499aa24cec714ab746c0d3abf97cab (diff) |
selftests: drv-net: Fix remote command checking in require_cmd()
The require_cmd() method was checking for command availability locally
even when remote=True was specified, due to a missing host parameter.
Fix by passing host=self.remote when checking remote command
availability, ensuring commands are verified on the correct host.
Fixes: f1e68a1a4a40 ("selftests: drv-net: add require_XYZ() helpers for validating env")
Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Link: https://patch.msgid.link/20250723135454.649342-2-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions