-
Notifications
You must be signed in to change notification settings - Fork 204
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
OSAL path length variables cause TBL tests to fail #2372
Comments
There's no documented restriction in OSAL on the value of these variables. |
Updating the matching Those tests in TBL end up referencing both the |
Thanks for the info. I can certainly update the test to only test up to the truncated length. However, it may be worth some thinking deeper about the implications of this design-- for example, since the filename is truncated when fetched via |
Fix #2372 TBL UT update for OSAL/CFE path length mismatch
Fix #2372 TBL UT update for OSAL/CFE path length mismatch
Describe the bug
A clear and concise description of what the bug is.
For certain values of
OSAL_CONFIG_MAX_FILE_NAME
andOSAL_CONFIG_MAX_PATH_LEN
, tests for TBL (and the DS application) fail. I suspect that the tests are making assumptions about the maximum values these can be set to.To Reproduce
Steps to reproduce the behavior:
OSAL_CONFIG_MAX_FILE_NAME
set to 64 andOSAL_CONFIG_MAX_PATH_LEN
set to 128Expected behavior
A clear and concise description of what you expected to happen.
Expect tests to pass.
Code snips
If applicable, add references to the software.
System observed on:
Additional context
Add any other context about the problem here.
related issue in DS: nasa/DS#111
Reporter Info
Full name and company/organization if applicable
Isaac Rowe, NASA JSC/Jacobs Technology
The text was updated successfully, but these errors were encountered: