Lines Matching refs:value
32 * 2. Buffer size is smaller than attribute value size,
35 * 4. Verify the attribute got by getxattr(2) is same as the value we set
57 #define XATTR_TEST_VALUE "this is a test value"
69 char *value;
77 .value = NULL,
81 { /* case 01, small value buffer */
84 .value = NULL,
91 .value = NULL,
112 TEST(getxattr(tc[i].fname, tc[i].key, tc[i].value,
131 if (memcmp(tc[i - 1].value, XATTR_TEST_VALUE, XATTR_TEST_VALUE_SIZE))
132 tst_resm(TFAIL, "Wrong value, expect \"%s\" got \"%s\"",
133 XATTR_TEST_VALUE, tc[i - 1].value);
135 tst_resm(TPASS, "Got the right value");
165 tc[i].value = malloc(BUFFSIZE);
166 if (tc[i].value == NULL) {