Lines Matching refs:info
11 lfs_stat(&lfs, "tea/hottea", &info) => 0;
12 assert(strcmp(info.name, "hottea") == 0);
13 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
14 assert(strcmp(info.name, "hottea") == 0);
17 lfs_stat(&lfs, "/milk", &info) => 0;
18 assert(strcmp(info.name, "milk") == 0);
19 lfs_stat(&lfs, "milk", &info) => 0;
20 assert(strcmp(info.name, "milk") == 0);
33 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
34 assert(strcmp(info.name, "hottea") == 0);
35 lfs_stat(&lfs, "//tea//hottea", &info) => 0;
36 assert(strcmp(info.name, "hottea") == 0);
37 lfs_stat(&lfs, "///tea///hottea", &info) => 0;
38 assert(strcmp(info.name, "hottea") == 0);
41 lfs_stat(&lfs, "////milk", &info) => 0;
42 assert(strcmp(info.name, "milk") == 0);
43 lfs_stat(&lfs, "milk", &info) => 0;
44 assert(strcmp(info.name, "milk") == 0);
57 lfs_stat(&lfs, "./tea/hottea", &info) => 0;
58 assert(strcmp(info.name, "hottea") == 0);
59 lfs_stat(&lfs, "/./tea/hottea", &info) => 0;
60 assert(strcmp(info.name, "hottea") == 0);
61 lfs_stat(&lfs, "/././tea/hottea", &info) => 0;
62 assert(strcmp(info.name, "hottea") == 0);
63 lfs_stat(&lfs, "/./tea/./hottea", &info) => 0;
64 assert(strcmp(info.name, "hottea") == 0);
67 lfs_stat(&lfs, "/./milk", &info) => 0;
68 assert(strcmp(info.name, "milk") == 0);
69 lfs_stat(&lfs, "milk", &info) => 0;
70 assert(strcmp(info.name, "milk") == 0);
87 lfs_stat(&lfs, "coffee/../tea/hottea", &info) => 0;
88 assert(strcmp(info.name, "hottea") == 0);
89 lfs_stat(&lfs, "tea/coldtea/../hottea", &info) => 0;
90 assert(strcmp(info.name, "hottea") == 0);
91 lfs_stat(&lfs, "coffee/coldcoffee/../../tea/hottea", &info) => 0;
92 assert(strcmp(info.name, "hottea") == 0);
93 lfs_stat(&lfs, "coffee/../coffee/../tea/hottea", &info) => 0;
94 assert(strcmp(info.name, "hottea") == 0);
97 lfs_stat(&lfs, "coffee/../milk", &info) => 0;
98 strcmp(info.name, "milk") => 0;
99 lfs_stat(&lfs, "milk", &info) => 0;
100 strcmp(info.name, "milk") => 0;
113 lfs_stat(&lfs, "tea/hottea/", &info) => 0;
114 assert(strcmp(info.name, "hottea") == 0);
115 lfs_stat(&lfs, "tea/hottea/.", &info) => 0;
116 assert(strcmp(info.name, "hottea") == 0);
117 lfs_stat(&lfs, "tea/hottea/./.", &info) => 0;
118 assert(strcmp(info.name, "hottea") == 0);
119 lfs_stat(&lfs, "tea/hottea/..", &info) => 0;
120 assert(strcmp(info.name, "tea") == 0);
121 lfs_stat(&lfs, "tea/hottea/../.", &info) => 0;
122 assert(strcmp(info.name, "tea") == 0);
131 lfs_stat(&lfs, ".milk", &info) => 0;
132 strcmp(info.name, ".milk") => 0;
133 lfs_stat(&lfs, "tea/.././.milk", &info) => 0;
134 strcmp(info.name, ".milk") => 0;
151 lfs_stat(&lfs, "coffee/../../../../../../tea/hottea", &info) => 0;
152 strcmp(info.name, "hottea") => 0;
155 lfs_stat(&lfs, "coffee/../../../../../../milk", &info) => 0;
156 strcmp(info.name, "milk") => 0;
157 lfs_stat(&lfs, "milk", &info) => 0;
158 strcmp(info.name, "milk") => 0;
166 lfs_stat(&lfs, "dirt", &info) => LFS_ERR_NOENT;
167 lfs_stat(&lfs, "dirt/ground", &info) => LFS_ERR_NOENT;
168 lfs_stat(&lfs, "dirt/ground/earth", &info) => LFS_ERR_NOENT;
187 lfs_stat(&lfs, "/", &info) => 0;
188 assert(strcmp(info.name, "/") == 0);
189 assert(info.type == LFS_TYPE_DIR);
203 lfs_stat(&lfs, "/", &info) => 0;
204 assert(strcmp(info.name, "/") == 0);
205 assert(info.type == LFS_TYPE_DIR);
206 lfs_stat(&lfs, "", &info) => 0;
207 assert(strcmp(info.name, "/") == 0);
208 assert(info.type == LFS_TYPE_DIR);
209 lfs_stat(&lfs, ".", &info) => 0;
210 assert(strcmp(info.name, "/") == 0);
211 assert(info.type == LFS_TYPE_DIR);
212 lfs_stat(&lfs, "..", &info) => 0;
213 assert(strcmp(info.name, "/") == 0);
214 assert(info.type == LFS_TYPE_DIR);
215 lfs_stat(&lfs, "//", &info) => 0;
216 assert(strcmp(info.name, "/") == 0);
217 assert(info.type == LFS_TYPE_DIR);
218 lfs_stat(&lfs, "./", &info) => 0;
219 assert(strcmp(info.name, "/") == 0);
220 assert(info.type == LFS_TYPE_DIR);
228 lfs_stat(&lfs, "littlefs", &info) => LFS_ERR_NOENT;
232 lfs_stat(&lfs, "littlefs", &info) => 0;
233 assert(strcmp(info.name, "littlefs") == 0);
234 assert(info.type == LFS_TYPE_DIR);
236 lfs_stat(&lfs, "littlefs", &info) => LFS_ERR_NOENT;