in reply to Re: Reporting test failures within cron
in thread Reporting test failures within cron
This works but for security reasons it would be better to do something like:
(tmp_file_name=`mktemp`; prove foo.t > "$tmp_file_name" 2>&1 || cat "$tmp_file_name")