[ovs-discuss] [ovs-dev] Why my AT_CHECK() can't work?

Ben Pfaff blp at ovn.org
Wed Aug 9 16:25:17 UTC 2017


On Wed, Aug 09, 2017 at 05:23:20PM +0800, Sam wrote:
> Hi all,
> 
> I'm using autotest to test ovs, and I write a new *.at file using only one
> AT_CHECK sentence like this:
> 
> AT_CHECK([ovs-appctl dpdk/bond-show dpdkb2], [0], [stdout])
> > AT_CHECK([[sed '/ACTIVE/p' stdout | head -4]], [0], [[LACP actor_state
> > ACTIVE AGGREGATION SYNC COLLECTING DISTRIBUTING
> >      partner_state ACTIVE AGGREGATION SYNC COLLECTING DISTRIBUTING
> > LACP actor_state ACTIVE AGGREGATION SYNC COLLECTING DISTRIBUTING
> >      partner_state ACTIVE AGGREGATION SYNC COLLECTING DISTRIBUTING]])
> 

I think you forgot -n in your sed command.


More information about the discuss mailing list