From patchwork Sat Jan 9 18:53:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Ahern X-Patchwork-Id: 12008665 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C9F6C433E0 for ; Sat, 9 Jan 2021 18:54:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 20AAF22D75 for ; Sat, 9 Jan 2021 18:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726058AbhAISyn (ORCPT ); Sat, 9 Jan 2021 13:54:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:46640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbhAISyn (ORCPT ); Sat, 9 Jan 2021 13:54:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B630023975; Sat, 9 Jan 2021 18:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610218442; bh=89IEbIv/zBauo1jPANVi6Sicq1KNOKL6cCPni7pVWtc=; h=From:To:Cc:Subject:Date:From; b=NwpLt5Mo3h4ogRIXNZ9OUZYSNKiaB3BrEAkI4OsGRm+iwAnqxgtPuIF7WD0KZMZOV oNKFEj7I9ehTGCPG7wg4r83l3YSnMz7l76yk78JxgmBmDFlVITDvidsjCb52OGEntI 1ebEuQDMxgRHNkU5IeHh16oqhgUt9/i9NKQTaJr9Z7s1E1TEbXY2ToFa3fceIm9pu6 ZRufi4ymBdKtfKUoofh7mr1msXKLD973xRf6wBTLIrlZ0bBn631zYKL2hQDzF73ULR FOS41ket+kZadebLfq1AIz4kF5B0CjkeP3EnQ256WoT5cU5ge65chBpvPbV7YCj3yp guyGpWJxXLwpQ== From: David Ahern To: netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, schoen@loyalty.org, David Ahern Subject: [PATCH 00/11] selftests: Updates to allow single instance of nettest for client and server Date: Sat, 9 Jan 2021 11:53:47 -0700 Message-Id: <20210109185358.34616-1-dsahern@kernel.org> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Update nettest to handle namespace change internally to allow a single instance to run both client and server modes. Device validation needs to be moved after the namespace change and a few run time options need to be split to allow values for client and server. David Ahern (11): selftests: Move device validation in nettest selftests: Move convert_addr up in nettest selftests: Move address validation in nettest selftests: Add options to set network namespace to nettest selftests: Add support to nettest to run both client and server selftests: Use separate stdout and stderr buffers in nettest selftests: Add missing newline in nettest error messages selftests: Make address validation apply only to client mode selftests: Consistently specify address for MD5 protection selftests: Add new option for client-side passwords selftests: Add separate options for server device bindings tools/testing/selftests/net/fcnal-test.sh | 398 +++++++-------- tools/testing/selftests/net/nettest.c | 576 +++++++++++++++------- 2 files changed, 595 insertions(+), 379 deletions(-)