From 46fc91af19d756bca02d460455d685d5a66b801b Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Fri, 10 Sep 2021 18:36:51 +0200 Subject: [PATCH] test_ls: add features for uutils called by ccmd --- tests/by-util/test_ls.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/by-util/test_ls.rs b/tests/by-util/test_ls.rs index 3d6092416..01c60e3fd 100644 --- a/tests/by-util/test_ls.rs +++ b/tests/by-util/test_ls.rs @@ -371,6 +371,7 @@ fn test_ls_long_format() { /// and `.` and `..` being present in `-a` all need to work for the test to pass. /// This test does not really test anything provided by `-l` but the file names and symlinks. #[test] +#[cfg(all(feature = "ln", feature = "mkdir", feature = "touch"))] fn test_ls_long_symlink_color() { // If you break this test after breaking mkdir, touch, or ln, do not be alarmed! // This test is made for ls, but it attempts to run those utils in the process.