[LTP] [PATCH] syscalls/socketcall: Use TCONF instead of TPASS

Xiao Yang yangx.jy@cn.fujitsu.com
Thu Jan 23 06:16:53 CET 2020


Hi Xu,

All of them are simple tests.
I perfer to convert to new library along with the minor fix. :-)

Thanks,
Xiao Yang
On 2020/1/23 12:48, Yang Xu wrote:
> Signed-off-by: Yang Xu<xuyang2018.jy@cn.fujitsu.com>
> ---
>   testcases/kernel/syscalls/socketcall/socketcall02.c | 2 +-
>   testcases/kernel/syscalls/socketcall/socketcall03.c | 2 +-
>   testcases/kernel/syscalls/socketcall/socketcall04.c | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/socketcall/socketcall02.c b/testcases/kernel/syscalls/socketcall/socketcall02.c
> index cec0246a6..7574782ff 100644
> --- a/testcases/kernel/syscalls/socketcall/socketcall02.c
> +++ b/testcases/kernel/syscalls/socketcall/socketcall02.c
> @@ -156,7 +156,7 @@ int TST_TOTAL = 0;
>
>   int main(void)
>   {
> -	tst_resm(TPASS, "socket call test on this architecture disabled.");
> +	tst_resm(TCONF, "socket call test on this architecture disabled.");
>   	tst_exit();
>   }
>
> diff --git a/testcases/kernel/syscalls/socketcall/socketcall03.c b/testcases/kernel/syscalls/socketcall/socketcall03.c
> index 244a28678..d6c082c21 100644
> --- a/testcases/kernel/syscalls/socketcall/socketcall03.c
> +++ b/testcases/kernel/syscalls/socketcall/socketcall03.c
> @@ -174,7 +174,7 @@ int TST_TOTAL = 0;
>
>   int main(void)
>   {
> -	tst_resm(TPASS, "socket call test on this architecture disabled.");
> +	tst_resm(TCONF, "socket call test on this architecture disabled.");
>   	tst_exit();
>   }
>
> diff --git a/testcases/kernel/syscalls/socketcall/socketcall04.c b/testcases/kernel/syscalls/socketcall/socketcall04.c
> index 584c8f37a..c498b6e74 100644
> --- a/testcases/kernel/syscalls/socketcall/socketcall04.c
> +++ b/testcases/kernel/syscalls/socketcall/socketcall04.c
> @@ -167,7 +167,7 @@ int TST_TOTAL = 0;
>
>   int main(void)
>   {
> -	tst_resm(TPASS, "socket call test on this architecture disabled.");
> +	tst_resm(TCONF, "socket call test on this architecture disabled.");
>   	tst_exit();
>   }
>





More information about the ltp mailing list