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

Fix cat error message on alpine #77

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Fix cat error message on alpine #77

merged 4 commits into from
Dec 21, 2024

Conversation

ryan-gang
Copy link
Collaborator

@ryan-gang ryan-gang commented Dec 21, 2024

This pull request includes several changes to improve the handling of error messages and test cases for bash redirection. The most important changes involve updating test cases to handle different error message formats and adding new test stages for redirection.

Updates to test cases:

  • internal/stage_r1.go: Added fallback patterns to handle different error message formats for the testR1 function.
  • internal/stage_r2.go: Added fallback patterns to handle different error message formats for the testR2 function.
  • internal/stage_r4.go: Updated the testR4 function to include additional regex patterns for error message formats.

New test stages for redirection:

  • Makefile: Renamed test_vt to test_redirection_w_bash and added new test stages for redirecting stdout and stderr, as well as appending stdout and stderr.

Additionally, a new import was added:

@ryan-gang ryan-gang self-assigned this Dec 21, 2024
@ryan-gang ryan-gang merged commit caa1360 into main Dec 21, 2024
2 checks passed
@ryan-gang ryan-gang deleted the alpha-fix-alpine branch December 21, 2024 18:05
@ryan-gang ryan-gang added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant