target_cmd_output_root_status prints the command exit status. If that
was a failure and the failure was as expected, this can be confusing
to readers who do not know that this is a possibility. So print a
message about it.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
die "FAILED! OutputCheck=$test->{OutputCheck}, input=$output\n";
}
}
+ if ($expected_rc) {
+ logm "... that failure ($rc) was as required; all is well.";
+ }
}
return 0;
}