[LTP] [PATCH v3 1/2] tst_filesystems01.c: Add test for .filesystems

Wei Gao wegao@suse.com
Wed Nov 12 13:14:34 CET 2025


On Wed, Nov 12, 2025 at 12:44:03PM +0100, Cyril Hrubis wrote:
> Hi!
> > > > Thanks for info. Sure, no problem.
> > > > 
> > > > Cc Cyril in case it's worth to fix it in metaparse.c.
> > > 
> > > The metaparse tool does macro expansion, that shouldn't be a problem.
> > > 
> > > Also metaparse only scans testcases/ directory during the build. The
> > > lib/ directory is not parsed at all.
> > 
> > @Cyril 
> > Could you help confirm following is the correct way use ?
> 
> Yes, forcing double pass for the macro preprocessor is the correct
> solution and We already have the same code in TST_TO_STR() in
> tst_common.h
> 
Thanks Cyril / Petr, i will update it in next version.
> -- 
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list