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

Add failing compliance test for SHELL canonicalization #966

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

squell
Copy link
Member

@squell squell commented Jan 21, 2025

Test case for tracking issue #962

@squell squell added non-compliant used to track failing compliance tests test-framework labels Jan 21, 2025
@squell squell enabled auto-merge (rebase) January 21, 2025 13:59
#[test]
fn shell_is_canonicalized() -> Result<()> {
let shell_path = "/bin/bash";
let env = Env("ALL ALL=(ALL:ALL) NOPASSWD: /usr/bin/bash")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe create a symlink ourselves here? This won't work on FreeBSD as /bin is not a symlink to /usr/bin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-compliant used to track failing compliance tests test-framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants