Lines Matching full:path
2 # simple path test
54 # dot path test
83 # dot dot path test
116 # trailing dot path test
141 # leading dot path test
156 # root dot dot path test
183 # invalid path tests
275 # max path test
286 char path[1024];
287 memset(path, 'w', LFS_NAME_MAX+1);
288 path[LFS_NAME_MAX+1] = '\0';
289 lfs_mkdir(&lfs, path) => LFS_ERR_NAMETOOLONG;
291 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
294 memcpy(path, "coffee/", strlen("coffee/"));
295 memset(path+strlen("coffee/"), 'w', LFS_NAME_MAX+1);
296 path[strlen("coffee/")+LFS_NAME_MAX+1] = '\0';
297 lfs_mkdir(&lfs, path) => LFS_ERR_NAMETOOLONG;
298 lfs_file_open(&lfs, &file, path, LFS_O_WRONLY | LFS_O_CREAT)
303 # really big path test
314 char path[1024];
315 memset(path, 'w', LFS_NAME_MAX);
316 path[LFS_NAME_MAX] = '\0';
317 lfs_mkdir(&lfs, path) => 0;
318 lfs_remove(&lfs, path) => 0;
320 lfs_file_open(&lfs, &file, path,
323 lfs_remove(&lfs, path) => 0;
325 memcpy(path, "coffee/", strlen("coffee/"));
326 memset(path+strlen("coffee/"), 'w', LFS_NAME_MAX);
327 path[strlen("coffee/")+LFS_NAME_MAX] = '\0';
328 lfs_mkdir(&lfs, path) => 0;
329 lfs_remove(&lfs, path) => 0;
330 lfs_file_open(&lfs, &file, path,
333 lfs_remove(&lfs, path) => 0;