[sheepdog] [PATCH 6/6] tests: omit mkfs outputs

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Sep 19 11:00:14 CEST 2012


At Wed, 19 Sep 2012 13:14:19 +0800,
Liu Yuan wrote:
> 
> On 09/19/2012 12:25 PM, MORITA Kazutaka wrote:
> > +    mkfs $mkops $STORE/$idx.img > $seq.full 2>&1
> 
> what is $seq.full used for? I think we can simply > /dev/null.

I just copied it from another place, and actually it is meaningless as
you say.  But rather than discarding the outputs to /dev/null, I guess
we should check the return status and print the content of $seq.full
on the error case.

Thanks,

Kazutaka



More information about the sheepdog mailing list