selftests: Completion of error handling

From: SF Markus Elfring
Date: Tue Nov 21 2017 - 09:04:27 EST


Hello,

Static source code analysis points out that the checking of return values from
some function calls is incomplete also in this software area.
How would you like to fix remaining open issues there?

Regards,
Markus