Searched refs:rename (Results 51 - 75 of 436) sorted by relevance

1234567891011>>

/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy126 shouldFailWithMessageContaining("fromPath") { fileSystem.rename(null, FILENAME1) }
130 shouldFailWithMessageContaining("toPath") { fileSystem.rename(FILENAME1, null) }
242 fileSystem.rename(FROM_FILE, NEW_FILE)
249 fileSystem.rename(NEW_DIR, TO_DIR)
259 fileSystem.rename(FROM_FILE, TO_FILE)
266 fileSystem.rename(NO_SUCH_FILE, TO_FILE2)
268 assert !fileSystem.exists(TO_FILE2), "After failed rename"
276 fileSystem.rename(FROM_DIR, TO_DIR)
278 assert !fileSystem.exists(TO_DIR), "After failed rename"
285 fileSystem.rename(FROM_DI
[all...]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DAbstractFileSystemTestCase.groovy126 shouldFailWithMessageContaining("fromPath") { fileSystem.rename(null, FILENAME1) }
130 shouldFailWithMessageContaining("toPath") { fileSystem.rename(FILENAME1, null) }
242 fileSystem.rename(FROM_FILE, NEW_FILE)
249 fileSystem.rename(NEW_DIR, TO_DIR)
259 fileSystem.rename(FROM_FILE, TO_FILE)
266 fileSystem.rename(NO_SUCH_FILE, TO_FILE2)
268 assert !fileSystem.exists(TO_FILE2), "After failed rename"
276 fileSystem.rename(FROM_DIR, TO_DIR)
278 assert !fileSystem.exists(TO_DIR), "After failed rename"
285 fileSystem.rename(FROM_DI
[all...]
/external/autotest/client/cros/
H A Dp2p_utils.py33 os.rename(P2P_SHARE_PATH, backup_path)
48 os.rename(backup_path, P2P_SHARE_PATH)
/external/c-ares/
H A Dcompile43 arguments, and rename the output as expected.
/external/cmockery/cmockery_0_1_2/
H A Dcompile43 arguments, and rename the output as expected.
/external/libnetfilter_conntrack/
H A Dcompile43 arguments, and rename the output as expected.
/external/libogg/
H A Dcompile43 arguments, and rename the output as expected.
/external/libusb-compat/
H A Dcompile43 arguments, and rename the output as expected.
/external/zlib/src/contrib/minizip/
H A Dmake_vms.com22 $ rename minizip_info.txt; minizip_info.txt_old
/external/autotest/client/tests/selftest/
H A Dselftest.py27 os.rename(name + '.new', name)
/external/autotest/database/
H A Ddb_utils.py24 def rename(manager, mapping): function
28 Use this to rename a specified set of tables in a database. If a source in
/external/emma/core/java12/com/vladium/emma/data/
H A DMergeProcessor.java212 // a temp file and rename it only when the data is safely persisted:
214 boolean rename = false;
224 rename = true;
229 if (rename) // create a temp out file
284 if (rename) // rename-with-delete temp out file into the desired out file
289 throw new EMMARuntimeException ("could not rename temporary file [" + tempDataOutFile.getAbsolutePath () + "] to [" + canonicalDataOutFile + "]: make sure the original file is not locked and can be deleted");
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify02.c124 if (rename(FILE_NAME1, FILE_NAME2) == -1) {
126 "rename(%s, %s) failed",
142 if (rename(fname1, fname2) == -1) {
144 "rename(%s, %s) failed", fname1, fname2);
165 if (rename(fname2, fname3) == -1) {
167 "rename(%s, %s) failed", fname2, fname3);
170 if (rename(fname3, fname1) == -1) {
172 "rename(%s, %s) failed", fname3, fname1);
/external/ltp/testcases/kernel/syscalls/rename/
H A Drename02.c42 * TEST TITLE : Basic test for rename(2)
62 * 1.) rename(2) returns...(See Description)
90 * This is a Phase I test for the rename(2) system call. It is intended
93 * rename(2).
141 * Call rename(2)
143 TEST(rename(fname, mname));
147 tst_resm(TFAIL, "rename(%s, %s) Failed, errno=%d : %s",
151 tst_resm(TPASS, "rename(%s, %s) returned %ld",
H A Drename04.c25 * This test will verify that rename(2) failed when newpath is
38 * rename the "old" to the "new" directory
39 * verify rename() failed and returned ENOTEMPTY
102 /* rename a directory to a non-empty directory */
104 /* Call rename(2) */
105 TEST(rename(fdir, mdir));
108 tst_resm(TFAIL, "rename(%s, %s) succeeded unexpectedly",
114 tst_resm(TPASS, "rename() returned ENOTEMPTY");
116 tst_resm(TPASS, "rename() returned EEXIST");
156 "in rename()", fdi
[all...]
H A Drename05.c25 * This test will verify that rename(2) fails with EISDIR
33 * rename the "old" file to the "new" directory
37 * verify rename() failed and returned EISDIR
99 /* attempt to rename a file to a directory */
100 /* Call rename(2) */
101 TEST(rename(fname, mdir));
104 tst_resm(TFAIL, "rename(%s, %s) succeed unexpected",
112 tst_resm(TPASS, "rename() returned EISDIR");
144 "in rename()", fname);
163 "in rename()", mdi
[all...]
H A Drename07.c6 * This test will verify that rename(2) failed in ENOTDIR
9 * stat,open,rename,mkdir,close
17 * rename the "old" directory to the "new" file
21 * verify rename() failed and returned ENOTDIR
82 /* rename a directory to a file */
83 /* Call rename(2) */
84 TEST(rename(fdir, mname));
87 tst_resm(TFAIL, "rename(%s, %s) succeeded unexpectedly",
95 tst_resm(TPASS, "rename() returned ENOTDIR");
131 "in rename()", fdi
[all...]
H A Drename08.c25 * This test will verify that rename(2) syscall failed in EFAULT
32 * Create a valid file to use in the rename() call.
38 * rename the "old" to the "new" file
39 * verify rename() failed with error EFAULT
43 * rename the "old" to the "new"
44 * verify rename() failed with error EFAULT
47 * try to rename NULL to NULL
48 * verify rename() failed with error EFAULT
127 TEST(rename(TC[i].fd, TC[i].fd2));
H A Drename10.c25 * This test will verify that rename(2) syscall fails with ENAMETOOLONG
37 * 1. rename the "old" to the "new" file
38 * verify rename() failed with error ENAMETOOLONG
41 * rename the "old" to the "new"
42 * verify rename() failed with error ENOENT
120 TEST(rename(TC[i].fd1, TC[i].fd2));
H A Drename13.c25 * Verify rename() return successfully and performs no other action
38 * rename the "old" to the "new" file
103 * TEST rename()works when
107 /* Call rename(2) */
108 TEST(rename(fname, mname));
111 tst_resm(TFAIL, "rename(%s, %s) failed", fname, mname);
118 "%s in rename()", mname);
125 "%s in rename()", fname);
132 "rename() failed: new file does "
141 "rename() faile
[all...]
/external/ltp/testscripts/
H A Dltpdmmapper.sh134 dmsetup rename dm-test-1 dm-test-1-new
135 dmsetup rename dm-test-2 dm-test-2-new
136 dmsetup rename dm-test-3 dm-test-3-new
137 dmsetup rename dm-test-4 dm-test-4-new
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DRntoCommandHandler.java32 * <li>Otherwise, rename the file, remove the FROM path stored in the session by the RNFR command, and reply with 250</li>
55 getFileSystem().rename(fromPath, toPath);
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
H A DRntoCommandHandler.java32 * <li>Otherwise, rename the file, remove the FROM path stored in the session by the RNFR command, and reply with 250</li>
54 getFileSystem().rename(fromPath, toPath);
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
H A DRntoCommandHandler.java32 * <li>Otherwise, rename the file, remove the FROM path stored in the session by the RNFR command, and reply with 250</li>
54 getFileSystem().rename(fromPath, toPath);
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
H A DRntoCommandHandler.java31 * <li>If the rename operation fails, then reply with 553</li>
54 getFileSystem().rename(fromPath, toPath);

Completed in 589 milliseconds

1234567891011>>