summaryrefslogtreecommitdiffstats
path: root/test/test_cli.py
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10cli: Add return value in cli_inbandOle Troan1-0/+36
Even when a CLI command called through the cli_inband API failed the API would return 0 (SUCCESS). This patch fixes that, but since most CLI handlers return error->code == 0, in most failure cases it will return -1 (UNSPECIFIED ERROR). Type: fix Change-Id: Ic83f3b23e8e8954bb8aa211301baba24e8c20ef6 Signed-off-by: Ole Troan <ot@cisco.com>