[LTP] [PATCH] fanotify06: add a test case for overlayfs

Amir Goldstein amir73il@gmail.com
Mon Jun 3 18:07:17 CEST 2019


On Mon, Jun 3, 2019 at 5:18 PM Petr Vorel <pvorel@suse.cz> wrote:
>
> Hi Amir,
>
> ...
> > > diff --git a/testcases/kernel/syscalls/fanotify/fanotify06.c b/testcases/kernel/syscalls/fanotify/fanotify06.c
> > > index 6a2e2494f..62defb23c 100644
> > > --- a/testcases/kernel/syscalls/fanotify/fanotify06.c
> > > +++ b/testcases/kernel/syscalls/fanotify/fanotify06.c
> > > @@ -54,8 +54,23 @@ static int fd_notify[FANOTIFY_PRIORITIES][GROUPS_PER_PRIO];
>
> > >  static char event_buf[EVENT_BUF_LEN];
>
> > > -#define MOUNT_NAME "mntpoint"
> > > +#define MNTPOINT "mntpoint"
> > > +#define OVL_LOWER "ovl-lower"
> > > +#define OVL_UPPER "ovl-upper"
> > > +#define OVL_WORK "ovl-work"
> > > +#define OVL_MNT "ovl-mnt"
> I guess you're going to send v2 with {SAFE,TST}_MOUNT_OVERLAY() or .needs_overlay usage from library.

Sure. I'll find a time to do that.

Thanks,
Amir.


More information about the ltp mailing list