Agree, the more code paths the better. Matus Marhefka
----- Original Message ----- From: "Cyril Hrubis" <chru...@suse.cz> To: "Matus Marhefka" <mmarh...@redhat.com> Cc: ltp-list@lists.sourceforge.net, "Jan Stancek" <jstan...@redhat.com> Sent: Thursday, February 12, 2015 12:03:10 PM Subject: Re: network namespaces tests cleanup Hi! > As network namespaces tests (ltp/testcases/kernel/containers/netns) code is > a bit messy and it's hard to figure out how return values are passed in the > code > I propose to remove all test cases and leave only the ones specified below. Sounds good to me. > Implementation: > =============== > As ip command cannot be used (because of older systems), we can use this > generic > functions to create/delete namespace handle: Maybe we can do even better, make the testcases work both with unshare and ip and run them twice (and get TCONF with ip on older systems) so that we cover ip on newer systems as well. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list