[LTP] [PATCH] [v3, 1/6] syscalls/sysfs: Convert sysfs01 to the new API

Cyril Hrubis chrubis@suse.cz
Wed Aug 11 11:21:45 CEST 2021


Hi!
> +	/* option 1, buf holds fs name */
> +	TST_EXP_POSITIVE(tst_syscall(__NR_sysfs, 1, "proc"), "sysfs(1,'proc')");
> 
> +	if (TST_PASS == 1)
> +		tst_res(TPASS, "sysfs(2) Passed for option 1");

Ah, TST_EXP_POSITIVE() does not produce TPASS message, that should be
fixed so that we don't have to add the TPASS message manually here. I
will send a patch.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list