[LTP] [PATCH v1] Port getxattr03.c to new test API

Marius Kittler mkittler@suse.de
Fri Sep 22 11:23:47 CEST 2023


Am Freitag, 22. September 2023, 02:00:32 CEST schrieb Wei Gao:
> > #ifdef HAVE_SYS_XATTR_H
> 
> Normally i saw this kind of ifdef in include/lapi/xattr.h
> I suppose we need create include/lapi/xattr.h?

No, we don't need that header here. This macro is actually defined in `config.h` 
which also makes sense as it is generated at configuration time. Note that also 
all builds (including musl) are passing with this change, see
https://github.com/Martchus/ltp/actions/runs/6259530698.





More information about the ltp mailing list