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 testsuite return value reporting #160

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Conversation

pkubatrh
Copy link
Member

the tests use ct_cleanup which exits on its own with "$TESTSUITE_RESULT"
as the return value of the whole script. The tests are however using "$overall".
This commit renames "overall" to "TESTSUITE_RESULT" to propagate the value correctly.

the tests use ct_cleanup which exits on its own with "$TESTSUITE_RESULT"
as the return value of the whole script. The tests are however using "$overall".
This commit renames "overall" to "TESTSUITE_RESULT" to propagate the value correctly.
@pkubatrh
Copy link
Member Author

[test-all]

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

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

LGTM. Based on the calling ct_cleanup https://github.com/sclorg/container-common-scripts/blob/master/test-lib.sh#L59

Let's wait for the tests.

@pkubatrh
Copy link
Member Author

Tests are green. I have manually checked the logs to make sure everything is actually passing. We can test the CI failures in #138, so lets merge and rebase.

@pkubatrh pkubatrh merged commit 39c3d06 into sclorg:master Aug 10, 2022
@pkubatrh pkubatrh deleted the fix_retval branch August 10, 2022 14:40
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