From 51d39c8bb756bd703e1da15dc4ab555fb068ec6e Mon Sep 17 00:00:00 2001 From: Piotr Kwiecinski Date: Thu, 23 Mar 2023 09:18:17 +0100 Subject: [PATCH] test_ls: cannot find function `expected_result` in this scope --- tests/by-util/test_ls.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index a9ffdef96..ba328d895 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -7,6 +7,8 @@ extern crate regex; extern crate tempfile; use self::regex::Regex; +#[cfg(feature = "feat_selinux")] +use crate::common::util::expected_result; use crate::common::util::TestScenario; #[cfg(all(unix, feature = "chmod"))] use nix::unistd::{close, dup};