[PATCH 6.16 264/627] selftests: drv-net: Fix remote command checking in require_cmd()