[LTP] [PATCH 4/5] Add pidfd_getfd01 test
Petr Vorel
pvorel@suse.cz
Fri Feb 18 07:59:23 CET 2022
Hi Xu,
> >> +++ b/testcases/kernel/syscalls/pidfd_getfd/.gitignore
> >> @@ -0,0 +1 @@
> >> +pidfd_getfd01
> > /pidfd_getfd01
> Thanks, will add it in v2.
> The two ways also work well.
/ causes pattern to be relative. Because we have mostly unique files, we
wouldn't worry whether the pattern is relative or global. And we have 47
.gitignore files in testcases/ not following this rule :).
> ps:pidfd_open also miss "/". Shoud we add this rule in maintainer review
> list and .gitignore info in doc?
I'm not sure myself if we want to follow this rule. If yes, it should be there.
Kind regards,
Petr
> Best Regards
> Yang Xu
More information about the ltp
mailing list