diff options
author | Ben Pfaff <blp@ovn.org> | 2018-05-25 16:59:40 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-06-11 15:31:57 -0700 |
commit | 828519ca71c5902a7c9784896312b00e094f4d1a (patch) | |
tree | a05df25760dea593c2bc6366095da442ac350358 /tests | |
parent | 957ee508d2e26aceed1cc2d307e9fffa2f3b18b9 (diff) | |
download | openvswitch-828519ca71c5902a7c9784896312b00e094f4d1a.tar.gz |
bond: Remove 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/lacp.at | 52 | ||||
-rw-r--r-- | tests/ofproto-dpif.at | 20 |
2 files changed, 36 insertions, 36 deletions
diff --git a/tests/lacp.at b/tests/lacp.at index 6dd949010..ee8100858 100644 --- a/tests/lacp.at +++ b/tests/lacp.at @@ -128,10 +128,10 @@ lacp_fallback_ab: false active slave mac: 00:00:00:00:00:00(none) slave p1: disabled - may_enable: false + may_enable: false slave p2: disabled - may_enable: false + may_enable: false ]) OVS_VSWITCHD_STOP @@ -292,10 +292,10 @@ lacp_status: negotiated lacp_fallback_ab: false slave p0: enabled - may_enable: true + may_enable: true slave p1: enabled - may_enable: true + may_enable: true ---- bond1 ---- bond_mode: balance-tcp @@ -307,15 +307,15 @@ lacp_status: negotiated lacp_fallback_ab: false slave p2: enabled - may_enable: true + may_enable: true slave p3: enabled - may_enable: true + may_enable: true ]) AT_CHECK([grep 'active slave$' stdout], [0], [dnl - active slave - active slave + active slave + active slave ]) # Redirect the patch link between p0 and p2 so that no packets get @@ -430,11 +430,11 @@ lacp_fallback_ab: false <active slave mac del> slave p0: disabled - may_enable: false + may_enable: false slave p1: enabled - active slave - may_enable: true + active slave + may_enable: true ---- bond1 ---- bond_mode: balance-tcp @@ -447,11 +447,11 @@ lacp_fallback_ab: false <active slave mac del> slave p2: disabled - may_enable: false + may_enable: false slave p3: enabled - active slave - may_enable: true + active slave + may_enable: true ]) @@ -562,11 +562,11 @@ lacp_fallback_ab: false <active slave mac del> slave p0: disabled - may_enable: false + may_enable: false slave p1: enabled - active slave - may_enable: true + active slave + may_enable: true ---- bond1 ---- bond_mode: balance-tcp @@ -579,11 +579,11 @@ lacp_fallback_ab: false <active slave mac del> slave p2: disabled - may_enable: false + may_enable: false slave p3: enabled - active slave - may_enable: true + active slave + may_enable: true ]) @@ -699,11 +699,11 @@ lacp_fallback_ab: false <active slave mac del> slave p0: enabled - may_enable: true + may_enable: true slave p1: enabled - active slave - may_enable: true + active slave + may_enable: true ---- bond1 ---- bond_mode: balance-tcp @@ -716,11 +716,11 @@ lacp_fallback_ab: false <active slave mac del> slave p2: enabled - may_enable: true + may_enable: true slave p3: enabled - active slave - may_enable: true + active slave + may_enable: true ]) diff --git a/tests/ofproto-dpif.at b/tests/ofproto-dpif.at index 2bfbfa2f3..f9ae8b282 100644 --- a/tests/ofproto-dpif.at +++ b/tests/ofproto-dpif.at @@ -8601,10 +8601,10 @@ AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl ]) # bond/show should show 'may-enable: true' for all slaves. AT_CHECK([ovs-appctl bond/show | sed -n '/^.*may_enable:.*/p'], [0], [dnl - may_enable: true - may_enable: true - may_enable: true - may_enable: true + may_enable: true + may_enable: true + may_enable: true + may_enable: true ]) # now disable the bfd on p1. @@ -8622,8 +8622,8 @@ AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl ]) # bond/show should show 'may-enable: false' for p0. AT_CHECK([ovs-appctl bond/show br0bond | sed -n '/^.*may_enable:.*/p'], [0], [dnl - may_enable: false - may_enable: true + may_enable: false + may_enable: true ]) # now enable the bfd on p1 and disable bfd on p0. @@ -8642,10 +8642,10 @@ AT_CHECK([ovs-appctl bfd/show | sed -n '/^.*Session State:.*/p'], [0], [dnl ]) # bond/show should show 'may-enable: false' for p0 and p1. AT_CHECK([ovs-appctl bond/show | sed -n '/^.*may_enable:.*/p'], [0], [dnl - may_enable: false - may_enable: true - may_enable: false - may_enable: true + may_enable: false + may_enable: true + may_enable: false + may_enable: true ]) OVS_VSWITCHD_STOP |