Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fix multi-call test precondition #6279

Merged

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
67 of 68 checks passed
@cakebaker
Copy link
Contributor

Yes, it works fine, thanks!

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