[LTP] [PATCH v4 28/31] testcases: sysfs: Add sys_hugepages02
Cyril Hrubis
chrubis@suse.cz
Thu Sep 3 16:49:58 CEST 2026
Hi!
> ...
> > + if (meminfo_val == sysfs_val) {
> > + tst_res(TPASS, "%s: /proc/meminfo (%ld) == %s (%ld)",
> > + what, meminfo_val, attr, sysfs_val);
> > + } else {
> > + tst_res(TFAIL, "%s: /proc/meminfo (%ld) != %s (%ld)",
> > + what, meminfo_val, attr, sysfs_val);
> > + }
> > +}
>
> It'd be nice if TST_EXP_EQ_LI() would allow to pass string as the other
> TST_EXP_*() macros do. That's of course outside of the scope of this patchset
> (if worth of improving at all).
I had that same idea, but again I've limited number of library changes
in that patchset, it's large enough as it is.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list