On Thu, Dec 1, 2016 at 12:45 PM, Pablo Neira Ayuso <pa...@netfilter.org> wrote:
> On Thu, Dec 01, 2016 at 09:10:53AM +0100, Arturo Borrero Gonzalez wrote:
>> On 30 November 2016 at 19:28, Pablo Neira Ayuso <pa...@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.
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Sorry for the noise, may PTF framework help for you ? Usually it is
used for datapath testing
on switches, but may be it can cover your cases.
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html