Skip to contentSkip to conversation

syscalls/socketcall: Use TCONF instead of TPASS

PATCH New Yang Xu 3 participants 5 messages Jan 23, 2020

lore
Share & tools
lore

Yang Xu

author
#0 lore raw

PATCH 1/1 syscalls/socketcall: Use TCONF instead of TPASS

---
 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(-)
testcases/kernel/syscalls/socketcall/socketcall02.c +1 -1
index cec0246a6..7574782ff 100644
@@ -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();
 }
 
testcases/kernel/syscalls/socketcall/socketcall03.c +1 -1
index 244a28678..d6c082c21 100644
@@ -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();
 }
 
testcases/kernel/syscalls/socketcall/socketcall04.c +1 -1
index 584c8f37a..c498b6e74 100644
@@ -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();
 }
 
Signature · 1 line
2.18.0
#1 lore raw

PATCH 1/1 syscalls/socketcall: Use TCONF instead of TPASS

Hi Xu,

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

Thanks,
Xiao Yang

Quoted 46 lines · Yang Xu
---
  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(-)
testcases/kernel/syscalls/socketcall/socketcall02.c +1 -1
index cec0246a6..7574782ff 100644
@@ -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();
  }
 
testcases/kernel/syscalls/socketcall/socketcall03.c +1 -1
index 244a28678..d6c082c21 100644
@@ -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();
  }
 
testcases/kernel/syscalls/socketcall/socketcall04.c +1 -1
index 584c8f37a..c498b6e74 100644
@@ -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();
  }
 
author
#2 lore raw

PATCH 1/1 syscalls/socketcall: Use TCONF instead of TPASS

Quoted 4 lines

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

Quoted 54 lines

Thanks,
Xiao Yang

Quoted 49 lines · Yang Xu

---

? 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(-)

testcases/kernel/syscalls/socketcall/socketcall02.c +1 -1
index cec0246a6..7574782ff 100644
@@ -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();
 ? }
 
testcases/kernel/syscalls/socketcall/socketcall03.c +1 -1
index 244a28678..d6c082c21 100644
@@ -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();
 ? }
 
testcases/kernel/syscalls/socketcall/socketcall04.c +1 -1
index 584c8f37a..c498b6e74 100644
@@ -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();
 ? }
 
#3 lore raw

PATCH 1/1 syscalls/socketcall: Use TCONF instead of TPASS

In reply to Xiao Yang

Hi!

Quoted 2 lines

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.

Signature · 2 lines
Cyril Hrubis
[email protected]