Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp405626ybn; Tue, 1 Oct 2019 23:30:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbonicGQ+FmvbSZ+eQWaEnHJ9zm78KeIie9o5+NydW7QBqp7Hlt4xaLlg+E0V7ZOO1sTVC X-Received: by 2002:a17:906:a44e:: with SMTP id cb14mr1615342ejb.277.1569997809169; Tue, 01 Oct 2019 23:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569997809; cv=none; d=google.com; s=arc-20160816; b=ukSdntFTUPXxSuzpRlTxhFRhIGVG2xaNxV2MYQ4AQQcZnkcseRbGfErZLAkY5wi6ml MrLlfooK4yLrAdutW3C6CjmZ3ckUTMiCEna6yqT0nQanfDOtUMRKirYh3q/mBPSokBQG l3WWl5LHpKrXARcXP3Cfnqm14T6DCHoMvMuVxgRgD1Uw19xAy6eAotiP5aBfolH5ynrY nXDpusf1EYUdJDtStElXIXHAZVdH37ROd0lQG9F4d3dc184h0jWhOV5pnO1Q1sUYbRJF 1m7CtjqP5V0ah5X+WNJbwVmwGH/Hqz3mAib2M5jsl14S2R8nWqG0IMb34B5XEmOZCfK4 f/wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=eaG+iKivc2lKCmOzBkeLrhSGMKnrkT7aaxTniohEZnM=; b=toq8tKkx22evjF33hRu/KPUruH/RfMVdUxPZCT9wAHJG7ppy/6cWFVaUWzTz6NEL8O NsoqUCR1/9wJ+JWDr7dnrBngvI/cI+NGk13J5+SdZl1pNwt3jAmYhmK2ygSVrLRZy4Wh oHlgTXWu2jDQlqYo19Y7Fxp83xHOHLg9T3uPuSNMgGpqtYXqeU2ebsB7UFRbFSPMcM8j BoWWi+JWQfoWe/hyPxH9WdMbtWjcxy+y8ssd0OqATexXc2DevsWwgUTb5jJE1AAKGb3B BXZn6Ul4sshzfD/0XTAPD0BIm20qEcvpaXPCcfIpkQlUVFFS1SmbxmdLlDgUM/6LDIfM Tyyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l16si9807237ejx.141.2019.10.01.23.29.44; Tue, 01 Oct 2019 23:30:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729732AbfJBB1n (ORCPT + 99 others); Tue, 1 Oct 2019 21:27:43 -0400 Received: from mail105.syd.optusnet.com.au ([211.29.132.249]:44643 "EHLO mail105.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729723AbfJBB1m (ORCPT ); Tue, 1 Oct 2019 21:27:42 -0400 Received: from dimstar.local.net (n122-110-44-45.sun2.vic.optusnet.com.au [122.110.44.45]) by mail105.syd.optusnet.com.au (Postfix) with SMTP id 91F86363099 for ; Wed, 2 Oct 2019 11:27:27 +1000 (AEST) Received: (qmail 6573 invoked by uid 501); 2 Oct 2019 01:27:26 -0000 Date: Wed, 2 Oct 2019 11:27:26 +1000 From: Duncan Roe To: Julian Anastasov Cc: Haishuang Yan , Shuah Khan , Pablo Neira Ayuso , "David S. Miller" , Simon Horman , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org Subject: Re: [PATCH v3 0/3] selftests: netfilter: introduce test cases for ipvs Message-ID: <20191002012726.GB9810@dimstar.local.net> Mail-Followup-To: Julian Anastasov , Haishuang Yan , Shuah Khan , Pablo Neira Ayuso , "David S. Miller" , Simon Horman , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org References: <1569939599-1872-1-git-send-email-yanhaishuang@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.2 cv=D+Q3ErZj c=1 sm=1 tr=0 a=4DzML1vCOQ6Odsy8BUtSXQ==:117 a=4DzML1vCOQ6Odsy8BUtSXQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=XobE76Q3jBoA:10 a=TCTL6qu2tCVPfYteyd8A:9 a=CjuIK1q_8ugA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 01, 2019 at 09:34:13PM +0300, Julian Anastasov wrote: > > Hello, > > On Tue, 1 Oct 2019, Haishuang Yan wrote: > > > This series patch include test cases for ipvs. > > > > The test topology is who as below: > > +--------------------------------------------------------------+ > > | | | > > | ns0 | ns1 | > > | ----------- | ----------- ----------- | > > | | veth01 | --------- | veth10 | | veth12 | | > > | ----------- peer ----------- ----------- | > > | | | | | > > | ----------- | | | > > | | br0 | |----------------- peer |--------------| > > | ----------- | | | > > | | | | | > > | ---------- peer ---------- ----------- | > > | | veth02 | --------- | veth20 | | veth12 | | > > | ---------- | ---------- ----------- | > > | | ns2 | > > | | | > > +--------------------------------------------------------------+ > > > > Test results: > > # selftests: netfilter: ipvs.sh > > # Testing DR mode... > > # Testing NAT mode... > > # Testing Tunnel mode... > > # ipvs.sh: PASS > > ok 6 selftests: netfilter: ipvs.sh > > > > Haishuang Yan (3): > > selftests: netfilter: add ipvs test script > > selftests: netfilter: add ipvs nat test case > > selftests: netfilter: add ipvs tunnel test case > > Acked-by: Julian Anastasov > > > tools/testing/selftests/netfilter/Makefile | 2 +- > > tools/testing/selftests/netfilter/ipvs.sh | 234 +++++++++++++++++++++++++++++ > > 2 files changed, 235 insertions(+), 1 deletion(-) > > create mode 100755 tools/testing/selftests/netfilter/ipvs.sh > > Regards > > -- > Julian Anastasov I still prefer #!/bin/sh in 1/3. You never know what's in someone's environment Cheers ... Duncan.