Skip to content

Commit

Permalink
Merge pull request #65 from thnkslprpt/FIX-SAMPLE-LIB-TYPOS
Browse files Browse the repository at this point in the history
Fix #66, Correct minor markdown and comment typos

Part of nasa/cFS#352
  • Loading branch information
astrogeco committed Sep 11, 2021
2 parents 828f353 + 464eaa4 commit b500b02
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To report a vulnerability for the sample_lib subsystem please [submit an issue](

For general cFS vulnerabilities please [open a cFS framework issue](https://github.com/nasa/cfs/issues/new/choose) and see our [top-level security policy](https://github.com/nasa/cFS/security/policy) for additional information.

In either case please use the "Bug Report" template and provide as much information as possible. Apply appropraite labels for each report. For security related reports, tag the issue with the "security" label.
In either case please use the "Bug Report" template and provide as much information as possible. Apply appropriate labels for each report. For security related reports, tag the issue with the "security" label.

## Testing

Expand Down
2 changes: 1 addition & 1 deletion unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ add_cfe_coverage_stubs(sample_lib_overrides
override_src/libc_string_stubs.c
)

# Add a coverate test excutable called "sample_lib-ALL" that
# Add a coverage test executable called "sample_lib-ALL" that
# covers all of the functions in sample_lib.
#
# Also note in a more complex app/lib the coverage test can also
Expand Down
2 changes: 1 addition & 1 deletion unit-test/coveragetest/coveragetest_sample_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void Test_SAMPLE_LIB_Init(void)
*/

/* Set a data buffer for strncpy()
* This overriddes what it would normally do */
* This overrides what it would normally do */
UT_SetDataBuffer(UT_KEY(OCS_strncpy), UT_TESTBUFFER, sizeof(UT_TESTBUFFER), false);

/* nominal case should return SUCCESS */
Expand Down
2 changes: 1 addition & 1 deletion unit-test/override_src/libc_string_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
** Notes:
** For most Unit tests this is _NOT_ necessary. Whenever
** possible, FSW code should only call CFE/OSAL/PSP code for
** which there are already stubs available and the the
** which there are already stubs available and the
** replacements can be made transparently at link time.
*/

Expand Down

0 comments on commit b500b02

Please sign in to comment.