Skip to content

fix testsuite return value reporting#160

Merged
pkubatrh merged 1 commit intosclorg:masterfrom
pkubatrh:fix_retval
Aug 10, 2022
Merged

fix testsuite return value reporting#160
pkubatrh merged 1 commit intosclorg:masterfrom
pkubatrh:fix_retval

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