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. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev