[LTP] [PATCH v4 28/31] testcases: sysfs: Add sys_hugepages02
Petr Vorel
pvorel@suse.cz
Thu Sep 3 16:44:02 CEST 2026
Hi Cyril,
...
> + 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).
Kind regards,
Petr
More information about the ltp
mailing list