Lines Matching refs:tempdir
63 let old_dir = tempfile::tempdir().unwrap(); in test_renameat()
68 let new_dir = tempfile::tempdir().unwrap(); in test_renameat()
93 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
98 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_behaves_like_renameat_with_no_flags()
137 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_exchange()
145 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_exchange()
185 let old_dir = tempfile::tempdir().unwrap(); in test_renameat2_noreplace()
190 let new_dir = tempfile::tempdir().unwrap(); in test_renameat2_noreplace()
215 let tempdir = tempfile::tempdir().unwrap(); in test_readlink() localVariable
216 let src = tempdir.path().join("a"); in test_readlink()
217 let dst = tempdir.path().join("b"); in test_readlink()
220 let dirfd = open(tempdir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_readlink()