ipc/msgstress*: Update test name in output
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
@@ -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
@@ -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
@@ -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
@@ -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
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]
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
@@ -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
@@ -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
@@ -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
@@ -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
PATCH v2 1/1 ipc/msgstress*: Update test name in output
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 ipc/msgstress*: Update test name in output
In reply to Cyril HrubisQuoted 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