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

get Redhat tree copies working #151

Merged
merged 17 commits into from
Jul 29, 2024
Merged

Conversation

petersilva
Copy link
Contributor

@petersilva petersilva commented Jul 24, 2024

Got redhat tree copies working

  • added a lot more examples/clarity around use of make
  • added description of tests in the Makefile and their invocation.
  • added KNOWN_REDIRECTION_BUG, so shim_tests have a means of skipping known broken tests but still running the others.
  • fixed SR_DEBUG_LOGS, and then fixed the broken messages that were discovered once it was working again.
  • Versioned shim library to avoid nasty binary crashes we saw on redhat 9.

Added a KNOWN_REDIRECTION_BUG switch into the shim library tests, and provided alternatives or
disabled all the tests that will fail.

I'm pretty sure it was only in the login/initial shell before, and that subshells would work, but I'm just
making the tests pass for now to have a baseline of working sanity tests. Consider this a work-around

Have to investigate the redirection issue separately.

Also beefed up documentation about how to build considerably... example of "make" run, and some description of the test Makefile targets.

@petersilva
Copy link
Contributor Author

working on a cleaner version of REDIRECTION_BUG ... hang on...

@petersilva
Copy link
Contributor Author

with the latest bug... all of the tests of re-direction are back in the test suite. The only thing needed was to ensure a sub-shell was spawned to get the re-direction to behave properly. So now, I know it's almost fully working on redhat (8 and 9)

There is one niggling test I still have to put a guard around with KNOWN_REDIRECTION_BUG, a touch that should not generate a post because the minimum interval should suppress it... works on ubuntu, but not redhat... reuires further investigation, but still what is here is a big improvement.

Copy link
Member

@reidsunderland reidsunderland left a comment

Choose a reason for hiding this comment

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

We'll do a final test when releasing the package

@petersilva petersilva merged commit a292b93 into development Jul 29, 2024
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