Validates the outcome of a wb_command execution by inspecting the
exit status and whether the expected output file was produced.
Arguments
- res
The return value from
system().- fe_before
Logical; did the output file exist before execution?
- fe_after
Logical; does the output file exist after execution?
- outfile
Path to the expected output file.
- cmd_name
The command name, for diagnostic messages.