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 #88, Add test for name too long and update comments #398

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

dmknutsen
Copy link
Contributor

@dmknutsen dmknutsen commented Mar 30, 2020

Describe the contribution
Fixes #88, Add test for name too long and update comments.
Coverage test added to OS_TimerCreate for OS_ERR_NAME_TOO_LONG.
Updated comments related to sizing includes null terminator for:
OS_MAX_API_NAME, OS_MAX_PATH_LEN, OS_BUFFER_SIZE

Testing performed
Ran unit tests.

System(s) tested on
Oracle VM VirtualBox
OS: ubuntu-19.10
Versions: cFE 6.7.11.0, OSAL 5.0.9.0, PSP 1.4.7.0

Contributor Info
Dan Knutsen
NASA/Goddard

@skliper
Copy link
Contributor

skliper commented Mar 30, 2020

Nitpick - could you update the commit message to stand alone? Something like:

Fix #88, Add test for name too long and update comments

Coverage test added to OS_TimerCreate for OS_ERR_NAME_TOO_LONG.
Updated comments related to sizing includes null terminator for:
OS_MAX_API_NAME, OS_MAX_PATH_LEN, OS_BUFFER_SIZE

@skliper
Copy link
Contributor

skliper commented Mar 30, 2020

Oh, and the issue description needs to explicitly say:
Fixes #88

This autolinks the pull request it with the issue.

@dmknutsen dmknutsen changed the title Fixes #88, makes requested changes to docs and UT Fixes #88, Add test for name too long and update comments Mar 30, 2020
@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Apr 9, 2020
Copy link
Contributor

@jphickey jphickey left a comment

Choose a reason for hiding this comment

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

One issue noted in the code, also this needs to be coordinated/preemptively merged with the pull in #405

Copy link
Contributor

@jphickey jphickey left a comment

Choose a reason for hiding this comment

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

Latest commit fa833b4 looks good, but still note that this will probably need to be manually merged/rebased with the changes in #405 which IIRC are already approved and should be in the next IC.

@astrogeco astrogeco changed the title Fixes #88, Add test for name too long and update comments Fix #88, Add test for name too long and update comments Apr 14, 2020
@astrogeco
Copy link
Contributor

CCB 20200415 - APPROVED

@skliper
Copy link
Contributor

skliper commented Apr 17, 2020

Can we add a similar comment to OS_MAX_FILE_NAME or is it too late?

@skliper
Copy link
Contributor

skliper commented Apr 17, 2020

@dmknutsen @astrogeco actually, I can do the change in my commit... retracting previous comment.

@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB CCB - 20200415 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 20, 2020
@astrogeco astrogeco changed the base branch from master to integration-candidate April 21, 2020 22:13
@astrogeco astrogeco merged commit e374b40 into nasa:integration-candidate Apr 21, 2020
@skliper skliper added this to the 5.1.0 milestone Jun 1, 2020
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.

OS_TimerCreate() Unterminated String
4 participants