Re: [PATCH v3 8/9] run_tests: print summary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/05/2016 14:41, Radim Krčmář wrote:
>> > eval $cmdline 2>> $RUNTIME_log_stderr \
>> >               | eval tee -a "$RUNTIME_log_stdout" | extract_summary
>> > 
>> > Anything I am missing?
>> > 
>>>> >>>      ret=$?
> Simple pipeline would not return the return value of `eval $cmdline`, so
> it seemed nicer with a redirection.

Right...  Two more attempts:

    eval "$cmdline 2>> $RUNTIME_log_stderr
                   > >(tee -a $RUNTIME_log_stdout | extract_summary)"

    (eval $cmdline) 2> >($RUNTIME_cmd_stderr)
                     > >(tee >($RUNTIME_cmd_stdout) | extract_summary)"

(The latter requiring an extra useless uses of cat for test.log).

Would any of these work fine?

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux