[LTP] [PATCH] ipc/msgstress*: Update test name in output

Xiao Yang yangx.jy@cn.fujitsu.com
Fri Oct 19 07:01:10 CEST 2018


msgctl[08-11] have been renamed as msgstress[01-04] in
commit 3e882e3e4c2d, so fix the wrong name in output.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/ipc/msgstress/msgstress01.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress02.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress03.c | 2 +-
 testcases/kernel/syscalls/ipc/msgstress/msgstress04.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
index 6e7f0c1..4c392f9 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress01.c
@@ -193,7 +193,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl08 ran successfully!");
+	tst_resm(TPASS, "msgstress01 ran successfully!");
 
 	cleanup();
 	tst_exit();
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
index 1e63c56..58321e2 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress02.c
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl09 ran successfully!");
+	tst_resm(TPASS, "msgstress02 ran successfully!");
 
 	cleanup();
 	tst_exit();
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
index da4db1c..6fb20e2 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress03.c
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl10 ran successfully!");
+	tst_resm(TPASS, "msgstress03 ran successfully!");
 
 	cleanup();
 	tst_exit();
diff --git a/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c b/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
index 61a8108..131c41c 100644
--- a/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
+++ b/testcases/kernel/syscalls/ipc/msgstress/msgstress04.c
@@ -183,7 +183,7 @@ int main(int argc, char **argv)
 		dotest_iteration(i*(MSGMNI / maxnprocs));
 	}
 
-	tst_resm(TPASS, "msgctl11 ran successfully!");
+	tst_resm(TPASS, "msgstress04 ran successfully!");
 
 	cleanup();
 	tst_exit();
-- 
1.8.3.1





More information about the ltp mailing list