[LTP] [PATCH 1/1] lib: Skip tst_{disable, enable}_oom_protection() for non-root
Petr Vorel
pvorel@suse.cz
Wed Dec 22 09:14:32 CET 2021
Hi Xu,
> > This is not working as expected in Github CI. I'm still looking at the
> > problem.
> > https://github.com/wangli5665/ltp/runs/4602025797?check_suite_focus=true
> I tested local but it works well. I guess ci fails because of linux user
> namespace. Maybe we should require CAP_SYS_RESOURCE cap instead of using
> geteuid.
Good catch, verifying.
Kind regards,
Petr
> Best Regards
> Yang Xu
More information about the ltp
mailing list