Cheers, will fix it up. Would still be useful to have a fast random generator (this one does about 1.5GB/s on my machine)
On Mon, May 6, 2013 at 12:48 AM, Liu Yuan <[email protected]> wrote: > On 05/06/2013 03:36 PM, Joseph Glanville wrote: > > +#!/bin/bash > > +openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 > count=1 2>/dev/null | base64)" -nosalt < /dev/zero | cat > > The script didn't work, see following output with your patch applied: > > ==================== > yliu@K55VM-ubuntu:~/sheepdog/tests$ sudo ./check 008 > PLATFORM -- Linux/x86_64 K55VM-ubuntu 3.7.0 > > 008 Last Used:94s. Test doing heavy IO while confchg change - output > mismatch (see 008.out.bad) > --- 008.out 2013-03-20 16:38:45.092403504 +0800 > +++ 008.out.bad 2013-05-06 15:42:09.233368939 +0800 > @@ -2,3 +2,8 @@ > using backend farm store > begin kill > wait for object recovery to finish > +error writing output file > +error writing output file > +error writing output file > +error writing output file > +error writing output file > Failures: 008 > Failed 1 of 1 tests > > ===================== > > And it is better to write a function _random() in common.rc. Also > Signed-Of-By line is missing, please see > > https://github.com/collie/sheepdog/wiki/Submit-a-patch > > for more information > > Thanks, > Yuan >
-- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
