summaryrefslogtreecommitdiffstats
path: root/vendor/tempfile/tests/tempfile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/tempfile/tests/tempfile.rs')
-rw-r--r--vendor/tempfile/tests/tempfile.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/tempfile/tests/tempfile.rs b/vendor/tempfile/tests/tempfile.rs
index 065dccbe1..f4dddb290 100644
--- a/vendor/tempfile/tests/tempfile.rs
+++ b/vendor/tempfile/tests/tempfile.rs
@@ -26,6 +26,8 @@ fn test_cleanup() {
assert!(num_files == 0);
}
+// Only run this test on Linux. MacOS doesn't like us creating so many files, apparently.
+#[cfg(target_os = "linux")]
#[test]
fn test_pathological_cleaner() {
let tmpdir = tempfile::tempdir().unwrap();