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

test: Prevent bash TCO when keeping a mount point busy #17823

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

mvollmer
Copy link
Member

Different versions of bash do tail call optimization in different scenarios, and the "Currently in use" pop-up would either show the bash process or not (depending on whether TCO was done). So let's prevent bash from doing TCO of the "sleep" call.

@mvollmer
Copy link
Member Author

The alternative would be to expect TCO always and update the pixel
test references. That's probably also feasible and less tricky.

@mvollmer
Copy link
Member Author

This is needed for the fedora-36 refresh in cockpit-project/bots#3955

test/verify/check-storage-used Outdated Show resolved Hide resolved
Different versions of bash do tail call optimization in different
scenarios, and the "Currently in use" pop-up would either show the
bash process or not (depending on whether TCO was done). So let's
prevent bash from doing TCO of the "sleep" call.
@mvollmer mvollmer requested a review from jelly October 18, 2022 09:19
@mvollmer mvollmer temporarily deployed to cockpit-dist October 18, 2022 09:22 Inactive
@mvollmer
Copy link
Member Author

TestNetworkingCheckpoints.testNoRollback is fixed in #17829

@mvollmer mvollmer merged commit 4db4991 into cockpit-project:main Oct 19, 2022
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