Skip to contentSkip to conversation

ipc/msgstress*: Update test name in output

PATCH Superseded Xiao Yang 2 participants 5 messages Oct 19, 2018

lore
Share & tools
lore

Xiao Yang

author
#0 lore raw

PATCH 1/1 ipc/msgstress*: Update test name in output

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

---
 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(-)
testcases/kernel/syscalls/ipc/msgstress/msgstress01.c +1 -1
index 6e7f0c1..4c392f9 100644
@@ -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();
testcases/kernel/syscalls/ipc/msgstress/msgstress02.c +1 -1
index 1e63c56..58321e2 100644
@@ -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();
testcases/kernel/syscalls/ipc/msgstress/msgstress03.c +1 -1
index da4db1c..6fb20e2 100644
@@ -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();
testcases/kernel/syscalls/ipc/msgstress/msgstress04.c +1 -1
index 61a8108..131c41c 100644
@@ -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();
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 ipc/msgstress*: Update test name in output

Hi!

Quoted 2 lines

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

Maybe we should just change these messages into "Test ran successfully!"
instead. But I do not have strong opinion on this.

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#2 lore raw

PATCH v2 1/1 ipc/msgstress*: Update test name in output

msgctl[08-11] have been renamed in commit 3e882e3e4c2d, so fix the obsolete name in output.

---
 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(-)
testcases/kernel/syscalls/ipc/msgstress/msgstress01.c +1 -1
index 6e7f0c1..7117e38 100644
@@ -193,7 +193,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl08 ran successfully!");
+	tst_resm(TPASS, "Test ran successfully!");
 
 	cleanup();
 	tst_exit();
testcases/kernel/syscalls/ipc/msgstress/msgstress02.c +1 -1
index 1e63c56..43982bd 100644
@@ -203,7 +203,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl09 ran successfully!");
+	tst_resm(TPASS, "Test ran successfully!");
 
 	cleanup();
 	tst_exit();
testcases/kernel/syscalls/ipc/msgstress/msgstress03.c +1 -1
index da4db1c..de4b459 100644
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
 			 count, nprocs);
 	}
 
-	tst_resm(TPASS, "msgctl10 ran successfully!");
+	tst_resm(TPASS, "Test ran successfully!");
 
 	cleanup();
 	tst_exit();
testcases/kernel/syscalls/ipc/msgstress/msgstress04.c +1 -1
index 61a8108..18fad4f 100644
@@ -183,7 +183,7 @@ int main(int argc, char **argv)
 		dotest_iteration(i*(MSGMNI / maxnprocs));
 	}
 
-	tst_resm(TPASS, "msgctl11 ran successfully!");
+	tst_resm(TPASS, "Test ran successfully!");
 
 	cleanup();
 	tst_exit();
Signature · 1 line
1.8.3.1
author
#4 lore raw

PATCH 1/1 ipc/msgstress*: Update test name in output

In reply to Cyril Hrubis
Quoted 5 lines · Cyril Hrubis

Hi!

Quoted 2 lines

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

Maybe we should just change these messages into "Test ran successfully!"
instead. But I do not have strong opinion on this.

Hi Cyril,

It's ok for me to do it as you said. V2 patch is coming. :-)

Best Regards,
Xiao Yang