From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 09/10] syscalls/ipc: Add shmctl IPC_SET test
Date: Tue, 8 Sep 2020 08:58:16 +0200 [thread overview]
Message-ID: <20200908065816.GA2475@yuki.lan> (raw)
In-Reply-To: <4a6a5c02-1d93-de12-cdd5-811e6a3610ce@cn.fujitsu.com>
Hi!
> > diff --git a/testcases/kernel/syscalls/ipc/shmctl/shmctl07.c b/testcases/kernel/syscalls/ipc/shmctl/shmctl07.c
> > index 409203db7..39b9ad78a 100644
> > --- a/testcases/kernel/syscalls/ipc/shmctl/shmctl07.c
> > +++ b/testcases/kernel/syscalls/ipc/shmctl/shmctl07.c
> > @@ -42,10 +42,12 @@ static void verify_shmlock(void)
> > else
> > tst_res(TPASS, "shmctl(%i, SHM_UNLOCK, NULL)", shm_id);
> >
> > + SAFE_SHMCTL(shm_id, IPC_STAT, &ds);
> > +
> > if (ds.shm_perm.mode & SHM_LOCKED)
> > - tst_res(TPASS, "SHM_LOCKED bit is off in shm_perm.mode");
> > - else
> > tst_res(TFAIL, "SMH_LOCKED bit is on in shm_perm.mode");
> > + else
> > + tst_res(TPASS, "SHM_LOCKED bit is off in shm_perm.mode");
> > }
> >
> This change should belong to "syscalls/ipc: Add shmctl07 test" patch.
My bad I messed up, will fix that later on.
Anything else I missed there?
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2020-09-08 6:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 15:01 [LTP] [PATCH v2 00/10] Rewrite shmctl() testcases Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 01/10] syscalls/ipc: shmctl02: Convert to the new library Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 02/10] syscalls/ipc: shmctl03: Remove Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 03/10] lapi/shm.h: Add SHM_STAT_ANY Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 04/10] syscalls/ipc: shmctl04: Rewrite from scratch Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 05/10] syscalls/ipc: shmctl05 remove lib dependency Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 06/10] lib/tst_assert: Add TST_ASSERT_ULONG() Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 07/10] syscalls/ipc: Add shmctl() IPC_INFO test Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 08/10] syscalls/ipc: Add shmctl07 test Cyril Hrubis
2020-09-07 15:01 ` [LTP] [PATCH v2 09/10] syscalls/ipc: Add shmctl IPC_SET test Cyril Hrubis
2020-09-08 5:34 ` Yang Xu
2020-09-08 6:58 ` Cyril Hrubis [this message]
2020-09-08 7:04 ` Yang Xu
2020-09-07 15:01 ` [LTP] [PATCH v2 10/10] syscalls/ipc: Rewrite shmctl01 Cyril Hrubis
2020-09-09 6:32 ` [LTP] [PATCH v2 00/10] Rewrite shmctl() testcases Li Wang
2020-09-10 16:06 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200908065816.GA2475@yuki.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.