Skip to content

Conversation

cakebaker
Copy link
Contributor

When running cargo test --features "dd" --no-default-features the compiler shows two errors like:

error[E0425]: cannot find value `TESTS_BINARY` in this scope
    --> tests/by-util/test_dd.rs:1599:43
     |
1599 |     let mut reader_command = Command::new(TESTS_BINARY);
     |                                           ^^^^^^^^^^^^ not found in this scope

This PR fixes the errors by skipping the tests without the "printf" feature.

@sylvestre sylvestre merged commit 22f91b0 into uutils:main Dec 1, 2023
@cakebaker cakebaker deleted the dd_fix_not_found_in_this_scope_error branch December 1, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants