README added Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx> --- iptables/tests/shell/README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 iptables/tests/shell/README diff --git a/iptables/tests/shell/README b/iptables/tests/shell/README new file mode 100644 index 0000000..fb3a21a --- /dev/null +++ b/iptables/tests/shell/README @@ -0,0 +1,20 @@ +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 + +And to run test suite for pariticular test files: + % ./run-tests.sh <PATH_OF_TESTFILES> + +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 -- 2.7.4 -- 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