syscalls/ipc/msgstress/msgstress{01, 02, 03, 04}: update TCID
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.
Signed-off-by Yixin Zhang <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
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]