This patchset creates the basic infrastructure for running the existing network testcases under containers automatically. The patchset creates a command file named nw_under_ns for the purpose. Please review them and provide all your valuable feedback. I have addressed all the comments from lxc-dev list except one. The changelog looks like:
1. Added verbose comments and patch description.
2. Restructured the licensing text.
3. Merged two patches into one touching runallnetworktest_child.sh file.
TODO:
1. Changing the kernel version to proper one
2. unshare not needed as clone only is suffucient. I will do it in a separate patch as need to do extensive testing to ensure other testcases do not break.

[patch 01/12] CONTAINERS fixes a potential bug in library:
This patch fixes some of the errors that I found in network namespace creation library. A file test on an unset vriable will give a pass, so the current test fails. (var scrpt may not have been set before calling :))This patch fixes that error. Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>. Acked-By: "Serge E. Hallyn" <serue@us.ibm.com>.
2 files changed