diff --git a/build.rs b/build.rs index a041e18d8e..b32622dd5d 100644 --- a/build.rs +++ b/build.rs @@ -154,11 +154,23 @@ fn avoid_keywords(name: &str) -> &str { } cfg_if::cfg_if! { - if #[cfg(not(windows))] { + if #[cfg(linux)] { /// Ignore tests that aren't supported yet. fn ignore(_testsuite: &str, _name: &str) -> bool { false } + } else if #[cfg(not(any(linux, windows)))] { + /// Ignore tests that aren't supported yet. + fn ignore(testsuite: &str, name: &str) -> bool { + if testsuite == "misc_testsuite" { + match name { + "fd_readdir" => true, + _ => false, + } + } else { + unreachable!() + } + } } else { /// Ignore tests that aren't supported yet. fn ignore(testsuite: &str, name: &str) -> bool { @@ -169,6 +181,7 @@ cfg_if::cfg_if! { "symlink_loop" => true, "clock_time_get" => true, "truncation_rights" => true, + "fd_readdir" => true, _ => false, } } else { diff --git a/misc_testsuite b/misc_testsuite index 5b706db675..4009c2bf14 160000 --- a/misc_testsuite +++ b/misc_testsuite @@ -1 +1 @@ -Subproject commit 5b706db6759fb68f1f303f0f5c4b80bef0694927 +Subproject commit 4009c2bf1403eb3c3be5e9613a44263c52eba8d6