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

nohup: improve test coverage #5858

Closed

Conversation

cre4ture
Copy link
Contributor

@cre4ture cre4ture commented Jan 17, 2024

as requested in #1857

I was able to simulate a terminal such that we can test the code in function "replace_fds"

EDIT: this PR is probably replaced by this: #5869

@cre4ture cre4ture force-pushed the feature/nohup_improve_test_coverage branch 2 times, most recently from 954cbd8 to dd201d2 Compare January 17, 2024 21:03
@cre4ture
Copy link
Contributor Author

CI/CD reported +15.46% testcoverage for nohup.rs :-)

@sylvestre sylvestre force-pushed the feature/nohup_improve_test_coverage branch from dd201d2 to 385c719 Compare January 18, 2024 09:19
@cakebaker cakebaker force-pushed the feature/nohup_improve_test_coverage branch from 385c719 to 37fbdf3 Compare January 19, 2024 09:55
@cakebaker
Copy link
Contributor

I don't know whether you have seen that the test fails on FreeBSD/macOS?

@cre4ture
Copy link
Contributor Author

I don't know whether you have seen that the test fails on FreeBSD/macOS?

thanks for pointing out. there are so many unrelated error currently that it gets difficult to see the real issues

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

1 similar comment
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@cre4ture
Copy link
Contributor Author

it seems that the improvements done in #5869 helped to solve the issue with FreeBSD. I guess it's the spawning of reader threads for the master side of the pty output. So I would then close this pull request, if the other gets accepted.

@cre4ture cre4ture force-pushed the feature/nohup_improve_test_coverage branch from c43d85e to 4f47ed2 Compare February 4, 2024 22:31
@cre4ture
Copy link
Contributor Author

closed in favor of #5869

@cre4ture cre4ture closed this Feb 10, 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