Lines Matching full:from
150 const char *from = from_path.path; in check_rename() local
155 TESTFS_BCMD_FILE("f1f", 1, 8), /* from f1f to f1t */ in check_rename()
156 TESTFS_BCMD_FILE("f2f", 2, 8), /* from f2f to f2t */ in check_rename()
158 TESTFS_BCMD_FILE("f3f", 4, 8), /* from f3f to d1f/d1f2t */ in check_rename()
159 TESTFS_BCMD_FILE("f4f", 5, 8), /* from f4f to d2t, reject */ in check_rename()
160 TESTFS_BCMD_ENTER_DIR("d1f"), /* from d1f to d1t */ in check_rename()
170 TESTFS_BCMD_FILE("f1t", 1, 8), /* from f1f to f1t */ in check_rename()
171 TESTFS_BCMD_FILE("f2t", 2, 8), /* from f2f to f2t */ in check_rename()
172 TESTFS_BCMD_FILE("f4f", 5, 8), /* from f4f to d2t, reject */ in check_rename()
173 TESTFS_BCMD_ENTER_DIR("d1t"), /* from d1f to d1t */ in check_rename()
175 TESTFS_BCMD_FILE("d1f2t", 4, 8), /* from f3f to d1f/d1f2t */ in check_rename()
207 TC_PRINT("%s => %s -ENOENT\n", from, to); in check_rename()
208 zassert_equal(fs_rename(from, to), in check_rename()
216 TC_PRINT("%s => %s ok\n", from, to); in check_rename()
217 zassert_equal(fs_rename(from, to), in check_rename()
228 TC_PRINT("%s => %s clobber ok\n", from, to); in check_rename()
229 zassert_equal(fs_rename(from, to), in check_rename()
232 zassert_equal(fs_stat(from, &stat), in check_rename()
234 "rename clobber left from"); in check_rename()
243 TC_PRINT("%s => %s move ok\n", from, to); in check_rename()
244 zassert_equal(fs_rename(from, to), in check_rename()
247 zassert_equal(fs_stat(from, &stat), in check_rename()
249 "rename to subdir left from"); in check_rename()
258 TC_PRINT("%s => %s -ENOTEMPTY\n", from, to); in check_rename()
259 zassert_equal(fs_rename(from, to), in check_rename()
270 TC_PRINT("%s => %s ok\n", from, to); in check_rename()
271 zassert_equal(fs_rename(from, to), in check_rename()
274 zassert_equal(fs_stat(from, &stat), in check_rename()
276 "rename to new dir left from"); in check_rename()