You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goss doesn't trim the trailing space at the end of process name.
It is a workaround for the issue reported upstream as:
> goss-org/goss#762
It can be reverted as soon as issue is fixed in goss.
Change-Id: Ie3d7e2b3470aed9aa3c5ee3743d950237919dbde
This specific daemon sets the process-name via perl's $0 assignment, which includes arguments in there. As on Linux the comm limit is 15 characters, the space is shown but not the subsequent arguments.
I'm not convinced this is a problem in goss, as trimming on space could make it stop matching on other things, which looks like a breaking change.
Describe the bug
Goss doesn't trim the output of ps command which can cause false alarm.
How To Reproduce
Expected Behavior
Goss should trim ps output befome matching it to the value from YAML file.
Actual Behavior
Goss is not removing trailing space from ps output:
Environment:
The text was updated successfully, but these errors were encountered: