From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo@debian.org>
Cc: Netfilter Development Mailing list
<netfilter-devel@vger.kernel.org>,
Shivani Bhardwaj <shivanib134@gmail.com>
Subject: Re: [RFC nft PATCH] tests: shell: add a basic scapy test
Date: Thu, 1 Dec 2016 11:45:35 +0100 [thread overview]
Message-ID: <20161201104535.GA13152@salvia> (raw)
In-Reply-To: <CAOkSjBibmjB6Uo2z9Wx1+tfkpO=eY1vY2_79qXN+TEB_tvPcEA@mail.gmail.com>
On Thu, Dec 01, 2016 at 09:10:53AM +0100, Arturo Borrero Gonzalez wrote:
> On 30 November 2016 at 19:28, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
> >> * You can probably augment this at some pointer to rely on the new
> >> nf_tables tracing infrastructure.
> >>
>
> That would be rather complex.
OK, let's start with this something simple.
> > Only one more question left: Do you think you can slightly generalize
> > this so we decouple test files from the script? Similar to what we
> > have for nft-tests.py.
>
> What do you mean?
>
> This testcase script is decoupled enough that you can even call it
> this way (and it works):
>
> % NFT=%(which nft) testcases/scapy/0001_ip_ttl_0
>
> Do you mean you would like to have a different testsuite (with a
> different runner script) for these datapath tests?
I mean, it would be good if you place as much common code as possible
in the runner script, so individual unit tests don't result in too
much copy and paste.
Thanks Arturo.
next prev parent reply other threads:[~2016-12-01 10:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 9:39 [RFC nft PATCH] tests: shell: add a basic scapy test Arturo Borrero Gonzalez
2016-11-30 18:27 ` Pablo Neira Ayuso
2016-11-30 18:28 ` Pablo Neira Ayuso
2016-12-01 8:10 ` Arturo Borrero Gonzalez
2016-12-01 10:45 ` Pablo Neira Ayuso [this message]
2016-12-01 11:04 ` Vadim Kochan
2016-12-01 15:05 ` Arturo Borrero Gonzalez
2016-12-01 16:52 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161201104535.GA13152@salvia \
--to=pablo@netfilter.org \
--cc=arturo@debian.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=shivanib134@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).