Skip to content

Conversation

@jphickey
Copy link
Contributor

Describe the contribution
Fixes #269, Corrects the error check after taskSpawn in the vxworks implementation.

The test for failure of taskSpawn should be for the value of
ERROR, not 0, per the VxWorks API documentation.

Found when implementing the unit test improvements in #230.

This issue is generally only reproducible in UT where taskSpawn
can be made to fail. In normal FSW/runtime use, the taskSpawn
call is not likely to fail, and this issue cannot be seen.

Testing performed
Build OSAL coverage tests (see #268) and confirm passage of all tests.

Expected behavior changes
All unit tests pass, fixes a failure in one test due to this incorrect error test.

System(s) tested on:
Ubuntu 18.04.2 LTS 64-bit

Contributor Info
Joseph Hickey, Vantage Systems, Inc.

The test for failure of taskSpawn should be for the value of
ERROR, not 0, per the VxWorks API documentation.

Found when implementing the unit test improvements in nasa#230.
This issue is generally only reproducible in UT where taskSpawn
can be made to fail.
@skliper
Copy link
Contributor

skliper commented Oct 23, 2019

CCB - 20191023: reviewed and approved

@skliper skliper added the CCB:Approved Indicates code review and approval by community CCB label Oct 23, 2019
skliper pushed a commit that referenced this pull request Oct 31, 2019
Fixes #230 #266 #269
Code reviewed and approved at 20191023 CCB
@skliper skliper changed the base branch from master to ic-20191030 November 7, 2019 21:12
@skliper skliper merged commit 1f450b2 into nasa:ic-20191030 Nov 7, 2019
@skliper skliper added this to the 5.1.0 milestone Jun 1, 2020
@jphickey jphickey deleted the fix-269-taskspawn-result branch December 3, 2020 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:Approved Indicates code review and approval by community CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants