X-GM-THRID: 6473369006202945536 X-Received: by 10.223.166.39 with SMTP id k36mr664509wrc.8.1507550562402; Mon, 09 Oct 2017 05:02:42 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.28.159.4 with SMTP id i4ls101709wme.3.gmail; Mon, 09 Oct 2017 05:02:41 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDRVcI2GWKuL2CXo3NI03UCuIePYZvF8XyigxVxXM8AJbrcKiO9pCpTtjOXi3tIgTSKyE7+ X-Received: by 10.28.31.148 with SMTP id f142mr1114481wmf.4.1507550561357; Mon, 09 Oct 2017 05:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507550561; cv=none; d=google.com; s=arc-20160816; b=i6DWlVGARvjNTOYEjrnG27ilXtiMgosC8GcYeuUCxmGPKDfczZAEgWRUitR1hu06W6 r3FkypjwbNkXkusv7coaIRWiFsDMw2IwIuUmZlVm4yQ/kiNq6FvPtSybOgOqTEDAszDp LeacmLD5cWSg8NsEriDBzt9UNs5I1NIJPm0M9Ayn4uVUbrBqU7AaStx+Pwi/g+sUo1NZ CwP16JUt5y+9Ta8Ep4AwqwLw5VZ5MzFClZPDEwWWDRKfRMmg9nsG3Zsubtc3meVdcfsQ NkOJlEaaIY3+a/dbgHPYep7Z851ymVnAxt/7LWEgsM7eYkPXktx04h1Ok38C7k3DskxO gWCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:arc-authentication-results; bh=oJZ7KWbaFziQ71tPZPYSbQdnTrLFHsRMM/QVnK6oIm8=; b=bb6RYVQ849vWn0CtWvo8Z5NTP92lYYfLA9GdaFWI9QhymyfOi7AoDg3z2J96LS3Z6U hOQGOqkWS9BXG7pYC7SBim5fq5wX77Wh/XjwQeBB+dJuLxWHYGfnHL3ojhuUYILiIOUt yu9QbojsdYvKz3MyPpnS4r/u41D5il09tVSKo4qLaxMzlbRL7+xjkbf2Q7YRMM1cXUK9 auQW2WJw6OCwnLMy4v9zdE1357nzEkspEW3HcL46nMA4WzDWleXEaEw0+bH1ikfYoT04 C8AQa6cndaqJINekrN8VFQNiu+k6PAn9gaXik/n04q/tsMqk8vTYBQu95tRIXE+wYqDc JWQA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of pablo@gnumonks.org designates 2001:780:45:1d:225:90ff:fe52:c662 as permitted sender) smtp.mailfrom=pablo@gnumonks.org Return-Path: Received: from ganesha.gnumonks.org (ganesha.gnumonks.org. [2001:780:45:1d:225:90ff:fe52:c662]) by gmr-mx.google.com with ESMTPS id m19si1055189wmd.2.2017.10.09.05.02.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 05:02:41 -0700 (PDT) Received-SPF: pass (google.com: domain of pablo@gnumonks.org designates 2001:780:45:1d:225:90ff:fe52:c662 as permitted sender) client-ip=2001:780:45:1d:225:90ff:fe52:c662; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of pablo@gnumonks.org designates 2001:780:45:1d:225:90ff:fe52:c662 as permitted sender) smtp.mailfrom=pablo@gnumonks.org Received: from 129.166.216.87.static.jazztel.es ([87.216.166.129] helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1e1WlW-0004y4-Ua; Mon, 09 Oct 2017 14:02:40 +0200 Date: Mon, 9 Oct 2017 14:02:33 +0200 From: Pablo Neira Ayuso To: Harsha Sharma Cc: netfilter-devel@vger.kernel.org, outreachy-kernel Subject: Re: [PATCH] tests: shell: add testcases for named objects Message-ID: <20171009120233.GA7926@salvia> References: <20171005101539.32010-1-harshasharmaiitr@gmail.com> <20171006123835.GC4713@salvia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) On Sat, Oct 07, 2017 at 01:11:17PM +0530, Harsha Sharma wrote: > On Fri, Oct 6, 2017 at 6:08 PM, Pablo Neira Ayuso wrote: > > On Thu, Oct 05, 2017 at 03:45:39PM +0530, Harsha Sharma wrote: > >> Add testcases for creating named objects with unique name, defined > >> by user and referencing them from rule. > > > > Also applied, thanks. > > > > Could you add another tests for 'limit' objects too? I think I posted > > an example to the mailing list. > > Hello, > I have pulled to latest tree, then make and make installed all changes > but still I'm unable to add named 'limit' objects. If there is something that > I'm missing, please let me know. Are you using a kernel compiled from nf.git tree? > Can you also please suggest some more tasks ? Yes. It would be great if you could update tests/py/nft-tests.py to add a new option, basically to take all tests from files, place them in a file and exercise the 'nft -f' path with such an autogenerated large file with all tests. Would you have a look into that? Thanks.