[sheepdog] [PATCH] test: Implentment fast random on AES
Liu Yuan
namei.unix at gmail.com
Mon May 6 09:48:19 CEST 2013
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 at 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
More information about the sheepdog
mailing list