syscalls/socketcall: Use TCONF instead of TPASS
diff mbox series

Message ID 1579754906-7837-1-git-send-email-xuyang2018.jy@cn.fujitsu.com
State Accepted
Headers show
Series
  • syscalls/socketcall: Use TCONF instead of TPASS
Related show

Commit Message

Yang Xu Jan. 23, 2020, 4:48 a.m. UTC
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(-)

Comments

Xiao Yang Jan. 23, 2020, 5:16 a.m. UTC | #1
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();
>   }
>
Yang Xu Jan. 23, 2020, 5:40 a.m. UTC | #2
> Hi Xu,
> 
> All of them are simple tests.
> I perfer to convert to new library along with the minor fix. :-)
Hi Xiao
OK. I will clean up them later.

ps:Using new library for all ltp cases looks like a long way to go.

Best Regards
Yang Xu
> 
> 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();
>>   }
>>
>
Cyril Hrubis Jan. 23, 2020, 10:21 a.m. UTC | #3
Hi!
Pushed, thanks.
Cyril Hrubis Jan. 23, 2020, 10:24 a.m. UTC | #4
Hi!
> All of them are simple tests.
> I perfer to convert to new library along with the minor fix. :-)

I do prever to convert these into new library as well, but I pushed it
before I read this email, since the patch was obviously correct and very
simple.

Patch
diff mbox series

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();
 }