<div dir="ltr">I can't get all the tests to pass on my system, patch or not.<div style>I always have 6 test failures. :(</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 9:00 AM, MORITA Kazutaka <span dir="ltr"><<a href="mailto:morita.kazutaka@gmail.com" target="_blank">morita.kazutaka@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Mon, 06 May 2013 16:24:39 +0800,<br>
<div><div class="h5">Liu Yuan wrote:<br>
><br>
> On 05/06/2013 04:15 PM, Joseph Glanville wrote:<br>
> > + _random | dd bs=1M | $COLLIE vdi write test$i -p 7000 &<br>
><br>
> 'dd bs=1M' is redundant? I can't still pass the tests with your patch<br>
> yet. Still sees 'error writing output file' error<br>
<br>
</div></div>I think it is because openssl fails to write data to stdout because collie vdi<br>
write has exited. If so, we can safely ignore the error message.<br>
<br>
I've tried the following simpler version. It looks working correctly without dd<br>
and shows much better performance than /dev/urandom on my environment.<br>
<br>
==<br>
_random()<br>
{<br>
openssl enc -aes-256-ctr -pass pass:"$(date)" -nosalt < /dev/zero 2>/dev/null<br>
}<br>
==<br>
<br>
Thanks,<br>
<br>
Kazutaka<br>
</blockquote></div><br></div>