Re: nft shell tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 23, 2016 at 12:53:54PM +0200, Arturo Borrero Gonzalez wrote:
> On 23 June 2016 at 12:43, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > Hi Arturo,
> >
> > I think it would be good if the run-test.sh script uses the binary
> > in this tree, just like nft-tests.py. Instead of using the one that is
> > available on the system.
> >
> > Let me know, thanks.
> 
> You can use arbitrary binaries passing the NFT variable:
> 
> % NFT=../../src/nft ./run-tests.sh
> 
> would you like to change the behaviour to use the nft binary from src/
> by default?

I think it's a good default to use the nft binary from src/

Otherwise, if you forget to 'make install' you may end up testing
something else :)

This would be very useful for continuous integration as we don't need
to install the binary itself on the test infrastructure to run the
tests.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux