Lines Matching defs:value
14 * 2. Buffer size is smaller than attribute value size:
17 * - verify the attribute got by fgetxattr(2) is same as the value we set
39 #define XATTR_TEST_VALUE "this is a test value"
49 char *value;
57 .value = NULL,
62 { /* case 01, small value buffer */
64 .value = NULL,
71 .value = NULL,
80 TEST(fgetxattr(fd, tc[i].key, tc[i].value, tc[i].size));
92 if (strncmp(tc[i].value, XATTR_TEST_VALUE,
94 tst_res(TFAIL, "wrong value, expect \"%s\" got \"%s\"",
95 XATTR_TEST_VALUE, tc[i].value);
98 tst_res(TPASS, "got the right value");
117 tc[i].value = SAFE_MALLOC(tc[i].size);
118 memset(tc[i].value, 0, tc[i].size);
130 free(tc[i].value);