[PATCH net-next v2 3/5] selftests: forwarding: lib: Move require_command to net, generalize