summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/0006interval_map_overlap_0
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-22 01:26:36 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-03-22 12:50:35 +0100
commit535a7324626f45bded749dcee7e225f9e0fa28d0 (patch)
tree70d924712d12190cc7617974f993dfd36b98ecf4 /tests/shell/testcases/maps/0006interval_map_overlap_0
parent3b4851bfcf2b2d160b759b191232125cb4a4b3ff (diff)
sets: Fix for missing space after last element
Not having a space between the last element in a set and the closing curly brace looks ugly, so add it here. This also adjusts all shell testcases as they match whitespace in nft output and therefore fail otherwise. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps/0006interval_map_overlap_0')
-rwxr-xr-xtests/shell/testcases/maps/0006interval_map_overlap_02
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/maps/0006interval_map_overlap_0 b/tests/shell/testcases/maps/0006interval_map_overlap_0
index c1bf3de1..8597639e 100755
--- a/tests/shell/testcases/maps/0006interval_map_overlap_0
+++ b/tests/shell/testcases/maps/0006interval_map_overlap_0
@@ -29,7 +29,7 @@ EXPECTED="table ip x {
map y {
type ipv4_addr : ipv4_addr
flags interval
- elements = { 10.0.1.0/24 : 10.0.0.1, 10.0.2.0/24 : 10.0.0.2}
+ elements = { 10.0.1.0/24 : 10.0.0.1, 10.0.2.0/24 : 10.0.0.2 }
}
}"
GET=$($NFT list ruleset)