[LTP] [PATCH v2 3/3] llistxattr/llistxattr03.c: add new testcase
Cyril Hrubis
chrubis@suse.cz
Wed Feb 24 15:28:44 CET 2016
Hi!
> +static void verify_llistxattr(void)
> +{
> + TEST(llistxattr("testfile", NULL, 0));
> + if (TEST_RETURN == -1) {
> + tst_resm(TFAIL | TERRNO, "llistxattr() failed");
> + return;
> + }
For me the call returns 0 here.
Can we create another file with some attribute in the setup as well so
that we can test both with no attributes (zero sized buffer) and with
non-zero one?
Otherwise it looks fine.
--
Cyril Hrubis
chrubis@suse.cz
More information about the Ltp
mailing list