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

profile_trim_paths::lldb_works_after_trimmed requires elevated privileges on macOS #13413

Closed
ehuss opened this issue Feb 7, 2024 · 0 comments · Fixed by #13416
Closed

profile_trim_paths::lldb_works_after_trimmed requires elevated privileges on macOS #13413

ehuss opened this issue Feb 7, 2024 · 0 comments · Fixed by #13416
Assignees
Labels
A-testing-cargo-itself Area: cargo's tests Z-trim-paths Nightly: path sanitization

Comments

@ehuss
Copy link
Contributor

ehuss commented Feb 7, 2024

The test profile_trim_paths::lldb_works_after_trimmed causes an authentication popup to show on macOS. This is because macOS requires elevated privileges to run developer tools. I think it would be good to avoid that when running in a developer environment.

Unfortunately I don't think there is an easy way around that. My only idea is to disable the test on macOS unless it is running on CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing-cargo-itself Area: cargo's tests Z-trim-paths Nightly: path sanitization
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants