tool/mgmt-tester: Add fail_tolerant exception
authorBrian Gix <brian.gix@intel.com>
Wed, 14 Jul 2021 22:03:56 +0000 (15:03 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commit1312b288b4f3227c373c8cf1ffc212ea229e7e70
treeb0c2c9c3a9cbef2184ea50405440eb16e6cd8433
parentde4f47489f52a46149b148b8885a5b789cdd9df2
tool/mgmt-tester: Add fail_tolerant exception

Race conditions with the cmd-sync changes can cause fail status codes to
be different than originally expected. New test parameter fail_tolerant
allows a trivial fail-code mismatches to "Pass" while also warning that
the status wasn't exactly as expected.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
tools/mgmt-tester.c