diff --git a/tests/smoke.rs b/tests/smoke.rs index 1a882038e..8fa15a8a4 100644 --- a/tests/smoke.rs +++ b/tests/smoke.rs @@ -92,6 +92,7 @@ mod fusedev_tests { #[cfg(target_os = "linux")] let tmp_dir = TempDir::new().unwrap(); + #[cfg(target_os = "macos")] let tmp_dir = { let source = tempdir().expect("Cannot create temporary directory."); source.into_path()