Skip to content

Conversation

BenWiederhake
Copy link
Collaborator

This bug was introduced in de37baa.

Fixes #6273.

The underlying cause was that I assumed in #6198 that "Surely, the true command is ALWAYS available, no exceptions!", and of course there's an exception. Hence the need for a #[cfg(…)] gate.

I checked with cargo test --features "cp" --no-default-features and cargo test --features "cp,true" --no-default-features, and the tests don't run / run as intended now.

CC @cakebaker, can you verify that this works?

@cakebaker cakebaker merged commit 7ac5595 into uutils:main Apr 28, 2024
@cakebaker
Copy link
Contributor

Yes, it works fine, thanks!

@BenWiederhake BenWiederhake deleted the dev-fix-multicall-test-precondition branch April 28, 2024 12:34
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.

tests: running the tests with --no-default-features no longer works
2 participants