Lines Matching full:path
18 static struct testfs_path path; variable
25 testfs_path_init(&path, &mnt, TESTFS_PATH_END); in reset_path()
26 return &path; in reset_path()
31 zassert_equal(testfs_path_init(&path, NULL, TESTFS_PATH_END), in ZTEST()
32 path.path, in ZTEST()
34 zassert_str_equal(path.path, "/", "bad root init path"); in ZTEST()
36 zassert_equal(testfs_path_init(&path, &mnt, TESTFS_PATH_END), in ZTEST()
37 path.path, in ZTEST()
39 zassert_str_equal(path.path, mnt.mnt_point, "bad mnt init path"); in ZTEST()
47 testfs_path_init(&path, &invalid, TESTFS_PATH_END); in ZTEST()
55 size_t path_max = sizeof(path.path) - 1; in ZTEST()
61 "path length requirements unmet"); in ZTEST()
65 zassert_equal(testfs_path_init(&path, &overrun_mnt, TESTFS_PATH_END), in ZTEST()
66 path.path, in ZTEST()
68 zassert_true(strcmp(path.path, overrun) < 0, in ZTEST()
70 zassert_equal(strncmp(path.path, overrun, path_max), in ZTEST()
72 "bad overrun path"); in ZTEST()
73 zassert_equal(path.path[path_max], '\0', in ZTEST()
79 zassert_str_equal(testfs_path_init(&path, &mnt, ELT1, TESTFS_PATH_END), in ZTEST()
82 zassert_str_equal(testfs_path_init(&path, &mnt, ELT1, ELT2, TESTFS_PATH_END), in ZTEST()