Lines Matching refs:name
27 static void set_flag(const char *name);
38 const char *name;
45 {.name = ".", .create = 0, .type = ENTRY_DIR},
46 {.name = "..", .create = 0, .type = ENTRY_DIR},
47 {.name = "dir", .create = 1, .type = ENTRY_DIR},
48 {.name = "file", .create = 1, .type = ENTRY_FILE},
49 {.name = "symlink", .create = 1, .type = ENTRY_SYMLINK},
118 tst_res(TINFO, "Entry '%s' not found", testcases[i].name);
129 static void set_flag(const char *name)
134 if (!strcmp(name, testcases[i].name)) {
137 tst_res(TFAIL, "Duplicate entry %s", name);
144 tst_res(TFAIL, "Unexpected entry '%s' found", name);
160 SAFE_MKDIR(testcases[i].name, 0777);
163 SAFE_FILE_PRINTF(testcases[i].name, " ");
166 SAFE_SYMLINK("nonexistent", testcases[i].name);