Skip to contentSkip to conversation

syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID

PATCH Superseded Yixin Zhang 2 participants 2 messages Jul 6, 2018 – Jul 18, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID

The tests are renamed from kernel/syscalls/ipc/msgctl/msgctl08-11 in commmit 3e882e3e4c2d7601e66d67977a8ce4c4f88f8099.
Update TCID in source files accordingly.

---
 testcases/kernel/syscalls/ipc/msgstress/msgstress01.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress02.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress03.c | 4 ++--
 testcases/kernel/syscalls/ipc/msgstress/msgstress04.c | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)
testcases/kernel/syscalls/ipc/msgstress/msgstress01.c +1 -1
index 7bcec501b..6e7f0c1f2 100644
@@ -41,7 +41,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl08";
+char *TCID = "msgstress01";
 int TST_TOTAL = 1;
 
 #ifndef CONFIG_COLDFIRE
testcases/kernel/syscalls/ipc/msgstress/msgstress02.c +1 -1
index 3d6a6e1d7..1e63c56a3 100644
@@ -39,7 +39,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl09";
+char *TCID = "msgstress02";
 int TST_TOTAL = 1;
 
 #define MAXNREPS	1000
testcases/kernel/syscalls/ipc/msgstress/msgstress03.c +2 -2
index f0f873f46..a8328f830 100644
@@ -21,7 +21,7 @@
 
 /*
  * Get and manipulate a message queue.
- * Same as msgctl08 but gets the actual msgmni value under procfs.
+ * Same as msgctl08(msgstress01) but gets the actual msgmni value under procfs.
  */
 
 #define _XOPEN_SOURCE 500
@@ -42,7 +42,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl10";
+char *TCID = "msgstress03";
 int TST_TOTAL = 1;
 
 #define MAXNPROCS	10000	/*These should be sufficient */
testcases/kernel/syscalls/ipc/msgstress/msgstress04.c +2 -2
index 89099a7c7..f15b0481d 100644
@@ -21,7 +21,7 @@
 
 /*
  * Get and manipulate a message queue.
- * Same as msgctl09 but gets the actual msgmni value under procfs.
+ * Same as msgctl09(msgstress02) but gets the actual msgmni value under procfs.
  */
 
 #define _XOPEN_SOURCE 500
@@ -40,7 +40,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl11";
+char *TCID = "msgstress04";
 int TST_TOTAL = 1;
 
 #define MAXNREPS	1000
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID

Hi!

Quoted 4 lines

/*
* Get and manipulate a message queue.
- * Same as msgctl09 but gets the actual msgmni value under procfs.
+ * Same as msgctl09(msgstress02) but gets the actual msgmni value under procfs.

Why do we keep the old name here and put the new one in parenthesis?

Otherwise this is obviously correct and a good catch.

Signature · 2 lines
Cyril Hrubis
[email protected]