Lines Matching refs:rename
1090 os.rename(old_path, new_path)
1093 os.rename(new_path, old_path)
1384 def corrupt_path(path, value="noodles\n", rename=False):
1387 if rename:
1388 os.rename(path, path + ".not-corrupt")
1481 corrupt_path(filepath, value="spaghetti\n", rename=True)
1483 os.rename(filepath + ".not-corrupt", filepath)
1502 corrupt_path(mfpath, value="spaghetti\n", rename=True)
1506 os.rename(mfpath + ".not-corrupt", mfpath)
1519 corrupt_path(catpath, value="spaghetti\n", rename=True)
1523 os.rename(catpath + ".not-corrupt", catpath)
1530 os.rename(not_corrupt, path)
3923 # Verify preserve works across package rename with and without
3931 # Update across the rename boundary, then verify that the files
3946 # Update across the rename boundary, then truncate each of the
3949 # a package rename.
3967 # Update across the rename boundary, then verify that a change
8350 # A simple rename test: First install the pre-renamed version of
8460 # A simple rename test: First exact-install the pre-renamed
8859 """Upgrade a package across a rename to an ambiguous name."""
10829 # rename, and verify that file content does not change even
10916 # rename, and verify that file content does not change even