diff options
author | Ben Pfaff <blp@ovn.org> | 2018-05-25 16:50:29 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-06-11 15:31:34 -0700 |
commit | fc002ed3a31406190c9c0abb6cd998aa5b8460d7 (patch) | |
tree | 8a3d10a693f8737982543984a38805e21bf7f146 /tests | |
parent | 017344c55eb9e4cbf5cef1e34a7a37a7d4e61d4e (diff) | |
download | openvswitch-fc002ed3a31406190c9c0abb6cd998aa5b8460d7.tar.gz |
bfd: Remove leading tabs from output.
OVS uses spaces for indentation in source code and it makes sense for it to
also use spaces for indentation in output. Spaces also consume less
horizontal space in output, which often makes it easier to read. This
commit transitions one part of output from tabs to spaces and updates
appropriate parts of the tests to match.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bfd.at | 32 | ||||
-rw-r--r-- | tests/ofproto-dpif.at | 16 |
2 files changed, 24 insertions, 24 deletions
diff --git a/tests/bfd.at b/tests/bfd.at index ba912b568..b0b7a2f9f 100644 --- a/tests/bfd.at +++ b/tests/bfd.at @@ -3,34 +3,34 @@ AT_BANNER([bfd]) m4_define([BFD_CHECK], [ AT_CHECK([ovs-appctl bfd/show $1 | sed -e '/Time:/d' | sed -e '/Discriminator/d' | sed -e '/Interval:/d'| sed -e '/Multiplier/d'],[0], [dnl - Forwarding: $2 - Concatenated Path Down: $3 + Forwarding: $2 + Concatenated Path Down: $3 - Local Flags: $4 - Local Session State: $5 - Local Diagnostic: $6 + Local Flags: $4 + Local Session State: $5 + Local Diagnostic: $6 - Remote Flags: $7 - Remote Session State: $8 - Remote Diagnostic: $9 + Remote Flags: $7 + Remote Session State: $8 + Remote Diagnostic: $9 ]) ]) m4_define([BFD_CHECK_TX], [ AT_CHECK([ovs-appctl bfd/show $1 | sed -n '/TX Interval/p'],[0], [dnl - TX Interval: Approx $2 - Local Minimum TX Interval: $3 - Remote Minimum TX Interval: $4 + TX Interval: Approx $2 + Local Minimum TX Interval: $3 + Remote Minimum TX Interval: $4 ]) ]) m4_define([BFD_CHECK_RX], [ AT_CHECK([ovs-appctl bfd/show $1 | sed -n '/RX Interval/p'],[0], [dnl - RX Interval: Approx $2 - Local Minimum RX Interval: $3 - Remote Minimum RX Interval: $4 + RX Interval: Approx $2 + Local Minimum RX Interval: $3 + Remote Minimum RX Interval: $4 ]) ]) @@ -44,8 +44,8 @@ $3 m4_define([BFD_CHECK_MULT], [ AT_CHECK([ovs-appctl bfd/show $1 | sed -n '/Detect Multiplier/p'],[0], [dnl - Detect Multiplier: $2 - Remote Detect Multiplier: $3 + Detect Multiplier: $2 + Remote Detect Multiplier: $3 ]) ]) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 00ab97bf6..656cdd844 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -8594,10 +8594,10 @@ AT_CHECK([ovs-appctl cfm/show | sed -n '/^.*fault:.*/p'], [0], [dnl ]) # bfd/show should show 'up'. AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl - Local Session State: up - Remote Session State: up - Local Session State: up - Remote Session State: up + Local Session State: up + Remote Session State: up + Local Session State: up + Remote Session State: up ]) # bond/show should show 'may-enable: true' for all slaves. AT_CHECK([ovs-appctl bond/show | sed -n '/^.*may_enable:.*/p'], [0], [dnl @@ -8617,8 +8617,8 @@ AT_CHECK([ovs-appctl cfm/show | sed -n '/^.*fault:.*/p'], [0], [dnl ]) # bfd/show should show 'down'. AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl - Local Session State: down - Remote Session State: down + Local Session State: down + Remote Session State: down ]) # bond/show should show 'may-enable: false' for p0. AT_CHECK([ovs-appctl bond/show br0bond | sed -n '/^.*may_enable:.*/p'], [0], [dnl @@ -8637,8 +8637,8 @@ AT_CHECK([ovs-appctl cfm/show | sed -n '/^.*fault:.*/p'], [0], [dnl ]) # bfd/show should show 'down'. AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl - Local Session State: down - Remote Session State: down + Local Session State: down + Remote Session State: down ]) # bond/show should show 'may-enable: false' for p0 and p1. AT_CHECK([ovs-appctl bond/show | sed -n '/^.*may_enable:.*/p'], [0], [dnl |