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

Make dev-container-features-test-lib script POSIX compliant (fixes #438) #959

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

Conversation

garymacindoe
Copy link

I've rewritten the dev-container-features-test-lib script included in the devcontainer CLI to be POSIX-compliant (using shellcheck).

This fixes tests against images where the default shell is not Bash (such as in #438).

@garymacindoe garymacindoe requested a review from a team as a code owner February 16, 2025 10:21
@garymacindoe
Copy link
Author

@microsoft-github-policy-service agree

@joshspicer
Copy link
Member

Thank you! Have you by chance run against a repo that has a lot of test scripts, like https://github.com/devcontainers/features?

@garymacindoe
Copy link
Author

I have run tests against devcontainers/features using the version of the devcontainers CLI built from this PR. There are a few failures but they all seem to be because upstream repos have been removed or other failures unrelated to the changes in this PR.

https://github.com/garymacindoe/features/actions/runs/13408523890

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