Skip to content

Printf test logs missing last character #1763

@jphickey

Description

@jphickey

Describe the bug
In the CFE coverage tests, assertions for "printf" include the message format string being checked for, but it truncates the last character. For example:

[ PASS] 02.006 es_UT.c:724 - Printf generated: '%s: Startup Sync failed - Applications may not have all starte' (1) >  (0)
[ PASS] 02.007 es_UT.c:725 - Printf generated: '%s: Startup Sync failed - Applications may not have all initialize' (1) >  (0)

To Reproduce
Run ES coverage test, view logs

Expected behavior
Should include the full string, not cut off the last char.

System observed on:
Ubuntu

Additional context
Off by one error in the string processing

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions