diff mbox series

[2/2] msgrcv07: Cleanup indentation

Message ID 20210924092111.20012-2-rpalethorpe@suse.com
State Accepted
Headers show
Series [1/2] msgrcv07: Check negative msg type filters | expand

Commit Message

Richard Palethorpe Sept. 24, 2021, 9:21 a.m. UTC
make make check happy.

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
 testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Petr Vorel Sept. 24, 2021, 10:22 a.m. UTC | #1
Hi Richie,

> make make check happy.
thx!
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

> Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
> ---
>  testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

> diff --git a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
> index 8635ef7a4..4528f69b2 100644
> --- a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
> +++ b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
> @@ -201,7 +201,7 @@ static void test_positive_msgtyp(void)

>  	if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) {
>  		tst_res(TPASS,
> -		        "msgtyp got the first message in the queue of type msgtyp");
> +			"msgtyp got the first message in the queue of type msgtyp");
>  	} else {
>  		tst_res(TFAIL,
>  			"msgtyp didn't get the first message in the queue of type msgtyp");
> @@ -226,7 +226,7 @@ static void test_negative_msgtyp(void)

>  	if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) {
>  		tst_res(TPASS,
> -		        "-msgtyp got the first message in the queue with the lowest type");
> +			"-msgtyp got the first message in the queue with the lowest type");
>  	} else {
>  		tst_res(TFAIL,
>  			"-msgtyp didn't get the first message in the queue with the lowest type");
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
index 8635ef7a4..4528f69b2 100644
--- a/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
+++ b/testcases/kernel/syscalls/ipc/msgrcv/msgrcv07.c
@@ -201,7 +201,7 @@  static void test_positive_msgtyp(void)
 
 	if (strcmp(rcv_buf.mtext, MSG2) == 0 && rcv_buf.type == MSGTYPE2) {
 		tst_res(TPASS,
-		        "msgtyp got the first message in the queue of type msgtyp");
+			"msgtyp got the first message in the queue of type msgtyp");
 	} else {
 		tst_res(TFAIL,
 			"msgtyp didn't get the first message in the queue of type msgtyp");
@@ -226,7 +226,7 @@  static void test_negative_msgtyp(void)
 
 	if (strcmp(rcv_buf.mtext, MSG1) == 0 && rcv_buf.type == MSGTYPE1) {
 		tst_res(TPASS,
-		        "-msgtyp got the first message in the queue with the lowest type");
+			"-msgtyp got the first message in the queue with the lowest type");
 	} else {
 		tst_res(TFAIL,
 			"-msgtyp didn't get the first message in the queue with the lowest type");