Fix #932 and #1089, strncpy cleanup and UT updates for mission sizing of API_LEN and PATH_LEN#1098
Merged
astrogeco merged 3 commits intonasa:integration-candidatefrom Jan 25, 2021
Conversation
Contributor
|
CCB:2021-01-21 APPROVED |
Contributor
|
@skliper can you check the conflicts here? |
astrogeco
added a commit
to astrogeco/cFS
that referenced
this pull request
Jan 25, 2021
170aac8 to
26a0e06
Compare
Contributor
Author
|
@astrogeco - fixed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the contribution
Fix #1089 - this cleans up the use of strncpy (and other minor hardcoded references) which solves most of #932
Fix #932 - remainder of cleanup in unit tests now that
CFE_MISSION_MAX_API_LENandCFE_MISSION_MAX_PATH_LENcan be bigger thanOS_MAX_API_NAMEandOS_MAX_PATH_LENGTHOther minor mods
Testing performed
Built and ran unit tests with sample config (where values are equal), and with CFE_MISSION* += 4, passed
Expected behavior changes
None, just easier maintenance and allows for use case of mission with multiple OS's w/ different limits to have standard cmd/tlm and the unit tests will still pass
System(s) tested on
Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC