Subject: | Add a cron-friendly option to prove to either print everything or nothing at all depending on exit code |
I run prove in cron like this:
perl -e 'my $out = qx[prove -vr /etc/t 2>&1]; print $out if $?'
It would be nice if there was a command-line option to do the same, i.e.
either be completely quiet if everything's OK or print the normal output
if it's not.
Obviously this would require buffering the output.