with_redoxfs is failing to remove image.bin in mmap and simple tests
This job is failing on master.
[src/tests.rs:40] format!(":{}", mount_path) = ":image"
[src/tests.rs:40] fs::remove_file(dbg!(format! (":{}", mount_path))) = Ok(
(),
)
[src/tests.rs:69] disk_path = "image.bin"
[src/tests.rs:69] fs::remove_file(dbg!(disk_path)) = Err(
Os {
code: 2,
kind: NotFound,
message: "No such file or directory",
},
)
The failing line.
Looks like the cleanup code is failing to remove the temporary image image.bin
created in with_redoxfs
. It can be reproduced with:
#[test]
fn simple1() {
with_redoxfs(|path| {
})
}
Actually, in the CI job for the last release, 0.5.4 had this failing test too. Furthermore, this test has been failing for the last 3 years. The last passing test was this one.