mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
Move media & home dirs tests to fs tests. Fixes https://github.com/rust-lang/rust/issues/163591. The home and media directory tests do not directly interact with the filesystem, but their test helper does via `crate::env::current_dir()`. Therefore, these tests fail on SGX and probably on other targets that do not have filesystem support. This PR moves those tests to `fs/tests.rs`, which is excluded on targets without filesystem support.