[LTP] execute group of test cases.

Cyril Hrubis chrubis@suse.cz
Mon Jul 25 14:18:51 CEST 2016


Hi!
> How can I run only below test cases using "runltp" command. I now below
> command but do not know the argument to pass.
> ./runltp -p -l <log file name> -f <testcase name>
> 
> Is there any way to run ?
> 
> 
> netns_breakns_ns_exec_ipv4_
> netns_breakns_ns_exec_ipv6_
> netns_breakns_ns_exec_ipv4_
> netns_breakns_ns_exec_ipv6_
> netns_breakns_ip_ipv4_netli
> netns_breakns_ip_ipv6_netli
> netns_breakns_ip_ipv4_ioctl
> netns_breakns_ip_ipv6_ioctl
> netns_comm_ns_exec_ipv4_net
> netns_comm_ns_exec_ipv6_net
> netns_comm_ns_exec_ipv4_ioc
> netns_comm_ns_exec_ipv6_ioc
> netns_comm_ip_ipv4_netlink
> netns_comm_ip_ipv6_netlink
> netns_comm_ip_ipv4_ioctl
> netns_comm_ip_ipv6_ioctl

The easiest way is to create custom runtest file, i.e. copy
runtest/containers to new file and delete what you do not want to run.
Then you can pass the newly created file name via the -f argument.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list