Monitor_testcase_functions: Replace $? construct

For script hardening we should replace the if [ $? = 0 ] construct
with '||'.

Signed-off-by: Hannes Reinecke <hare@suse.de>