[sheepdog] [PATCH 2/2] tests/057: fix 057 and 057.out

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri May 10 07:44:53 CEST 2013


At Fri, 10 May 2013 14:43:10 +0900,
MORITA Kazutaka wrote:
> 
> > -
> >  # unplug invalid path
> >  $COLLIE node md unplug  $STORE/0/d0
> >  $COLLIE node recovery
> > -$COLLIE node md info | awk '{$2="MASKED";print $0}' | _filter_store
> > +$COLLIE node md info | awk '{$4="MASKED";print $0}' | _filter_store
> >  $COLLIE cluster info | _filter_cluster_info
> 
> How about introducing _filter_md_info like as folllows?
> 
> _filter_md_info()
> {
> 	awk '{$2="MASKED";print $0}' | _filter_store
> }

s/$2/$4/

Thanks,

Kazutaka



More information about the sheepdog mailing list