Re: [PATCH v2] iptables: tests: shell: add shell test-suite

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

 



On Sat, Jun 09, 2018 at 11:04:27PM +0530, Arushi Singhal wrote:
> To run the test suite (as root):
>  % cd iptables/tests/shell
>  % ./run-tests.sh
> 
> Test files are executables files with the pattern <<name_N>> , where
> N is the expected return code of the executable. Since they are
> located with `find', test-files can be spreaded in any sub-directories.
> 
> You can turn on a verbose execution by calling:
>  % ./run-tests.sh -v
> 
> Before each call to the test-files, `kernel_cleanup' will be called.
> Also, test-files will receive the environment variable $IPTABLES which
> contains the path to the iptables binary being tested.
> 
> You can pass an arbitrary $IPTABLES value as well:
>  % IPTABLES=/../../xtables-multi iptables ./run-tests.sh

Applied, thanks Arushi.
--
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