Skip to content

shell-test does not appear to work on VxWorks #939

@jphickey

Description

@jphickey

Describe the bug
The "shell-test" program attempts to run the following command:

echo -n "ValueToEchoInTheFile"

But this does not appear to work correctly on VxWorks 6.9. The test reports:

[ FAIL] 01.005 shell-test.c:83 - Read: 
echo -n "ValueToEch, Written: ValueToEchoInTheFile

To Reproduce
Enable shell and run "shell-test" on MCP750

Expected behavior
Test should pass

System observed on:
MCP750 VxWorks 6.9

Additional context
I'm not familiar enough with VxWorks, it seems the interactive shell does not even have an "echo" command so I am not sure how this is expected to work to begin with.

If run directly on the shell as a test, I get:

-> echo -n "ValueToEchoInTheFile"
C interp: unknown symbol name 'echo'.

So it is not clear to me how this is expected to work.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Labels

bugunit-testTickets related to the OSAL unit testing (functional and/or coverage)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions