Lines Matching refs:tempdir
32 let tempdir = tempfile::tempdir().unwrap(); in test_mount_tmpfs_without_flags_allows_rwx() localVariable
36 tempdir.path(), in test_mount_tmpfs_without_flags_allows_rwx()
43 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx()
93 umount(tempdir.path()) in test_mount_tmpfs_without_flags_allows_rwx()
98 let tempdir = tempfile::tempdir().unwrap(); in test_mount_rdonly_disallows_write() localVariable
102 tempdir.path(), in test_mount_rdonly_disallows_write()
112 File::create(tempdir.path().join("test")) in test_mount_rdonly_disallows_write()
118 umount(tempdir.path()) in test_mount_rdonly_disallows_write()
123 let tempdir = tempfile::tempdir().unwrap(); in test_mount_noexec_disallows_exec() localVariable
127 tempdir.path(), in test_mount_noexec_disallows_exec()
134 let test_path = tempdir.path().join("test"); in test_mount_noexec_disallows_exec()
167 umount(tempdir.path()) in test_mount_noexec_disallows_exec()
172 let tempdir = tempfile::tempdir().unwrap(); in test_mount_bind() localVariable
176 let mount_point = tempfile::tempdir().unwrap(); in test_mount_bind()
179 Some(tempdir.path()), in test_mount_bind()
203 File::open(tempdir.path().join(file_name)) in test_mount_bind()