Re: [Fuego] [PATCH 03/12] skip cases missing rsh cmd

"Bird, Tim" <[email protected]>
Newsgroups dev.linux.lists.fuego
Message-ID <CY4PR13MB1175459CE97B2363E652DBDCFD670@CY4PR13MB1175.namprd13.prod.outlook.com>

> -----Original Message-----
> From:  qiutt
> 
> for m3ulcb, skip casesc in net_stress.route and net.tcp_cmds
> 
> Signed-off-by: qiutt <[email protected]>
> ---
>  tests/Functional.LTP/fuego_test.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/Functional.LTP/fuego_test.sh b/tests/Functional.LTP/fuego_test.sh
> index 8aaffd8..bde09eb 100755
> --- a/tests/Functional.LTP/fuego_test.sh
> +++ b/tests/Functional.LTP/fuego_test.sh
> @@ -238,6 +238,8 @@ function test_pre_check {
>      # some cmds do not exist in m3ulcb
>      skip_if_command_unavailable ftp "ftp04" # for network_commands
>      skip_if_command_unavailable ftp "ftp" # for net.tcp_cmds
> +    skip_if_command_unavailable rsh "route4-change-dst route4-change-gw route4-change-if route4-redirect route4-ifdown route4-
> rmmod route6-change-dst route6-change-gw route6-change-if route6-redirect route6-ifdown route6-rmmod " # for net_stress.route

I wish that line wasn't so long, but I guess there's already a precedent for
ridiculously long lines in this test_pre_check() function.

> +    skip_if_command_unavailable rsh "rsh" # for net.tcp_cmds
> 
>      echo "Tests skipped depending on the configuration of the target kernel"
>      skip_if_kconfig_differs "CONFIG_INOTIFY_USER=y" "inotify_init1_01 inotify_init1_02 inotify01 inotify02 inotify03 inotify04 inotify05
> inotify06"
> --
> 2.11.0

Looks OK.  I'm trusting that these dependencies are real. Applied.
 -- Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.