tests: Add testing for unshare codes and tun rework

Submitted by Cyrill Gorcunov on Sept. 19, 2018, 11:50 a.m.

Details

Reviewer None
Submitted Sept. 19, 2018, 11:50 a.m.
Last Updated Sept. 19, 2018, 11:47 p.m.
Revision 1

Cover Letter

Cyrill Gorcunov (10):
  test: static/mnt_ext_auto -- Check if unshare successed
  test: static/mnt_ext_master -- Check if unshare successed
  test: static/mntns_root_bind -- Check if unshare successed
  test: static/mntns_shared_bind -- Check if unshare successed
  test: static/netns_sub -- Check if unshare successed
  test: static/sk-unix-mntns -- Check if unshare successed
  test: static/socket-tcp -- Check if unshare successed
  test: static/tun -- Check if unshare successed
  test: static/socket-tcp -- Check for iptables success
  test: static/tun -- More detailed errors and code shrink

 test/zdtm/static/mnt_ext_auto.c      |  5 ++-
 test/zdtm/static/mnt_ext_master.c    |  5 ++-
 test/zdtm/static/mntns_root_bind.c   |  5 ++-
 test/zdtm/static/mntns_shared_bind.c |  5 ++-
 test/zdtm/static/netns_sub.c         | 10 ++++-
 test/zdtm/static/sk-unix-mntns.c     |  5 ++-
 test/zdtm/static/socket-tcp.c        |  8 +++-
 test/zdtm/static/tun.c               | 64 ++++++++++++++--------------
 8 files changed, 65 insertions(+), 42 deletions(-)
  

Revisions