public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH ltp] syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID
@ 2018-07-06  9:03 Yixin Zhang
  2018-07-18 12:37 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Yixin Zhang @ 2018-07-06  9:03 UTC (permalink / raw)
  To: ltp

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

Signed-off-by: Yixin Zhang <yixin.zhang@intel.com>
---
 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(-)

diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
index 7bcec501b..6e7f0c1f2 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
@@ -41,7 +41,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl08";
+char *TCID = "msgstress01";
 int TST_TOTAL = 1;
 
 #ifndef CONFIG_COLDFIRE
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
index 3d6a6e1d7..1e63c56a3 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
@@ -39,7 +39,7 @@
 #include "ipcmsg.h"
 #include "../lib/libmsgctl.h"
 
-char *TCID = "msgctl09";
+char *TCID = "msgstress02";
 int TST_TOTAL = 1;
 
 #define MAXNREPS	1000
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
index f0f873f46..a8328f830 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
@@ -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 */
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
index 89099a7c7..f15b0481d 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
@@ -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
-- 
2.14.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [LTP] [PATCH ltp] syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID
  2018-07-06  9:03 [LTP] [PATCH ltp] syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID Yixin Zhang
@ 2018-07-18 12:37 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2018-07-18 12:37 UTC (permalink / raw)
  To: ltp

Hi!
>  /*
>   * 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.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-18 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06  9:03 [LTP] [PATCH ltp] syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID Yixin Zhang
2018-07-18 12:37 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox