summaryrefslogtreecommitdiffstats
path: root/tests/expr-concat
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2012-08-03 19:56:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-08-06 14:33:54 +0200
commit9a32c83f7529ca7b3f6d4b3253b537a9da5681af (patch)
tree96b7840de24864de175cd19e9b3bd01dd8f0439e /tests/expr-concat
parente5990b016a7c7d17e0dac1cadb6e8bc2c91610b0 (diff)
tests: fix test, commands now comes before the family and table name
Most tests still don't work though. They still need another fix. Reported-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/expr-concat')
-rw-r--r--[-rwxr-xr-x]tests/expr-concat6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/expr-concat b/tests/expr-concat
index d9c553b6..bb284cce 100755..100644
--- a/tests/expr-concat
+++ b/tests/expr-concat
@@ -1,19 +1,19 @@
#! nft -f
# Concat element mismatch
-rule add ip filter output ip daddr . tcp sport . tcp dport { \
+add rule ip filter output ip daddr . tcp sport . tcp dport { \
192.168.0.1 . 22, \
192.168.0.1 . 80, \
}
# Concat type mismatch
-rule add ip filter output ip daddr . tcp dport { \
+add rule ip filter output ip daddr . tcp dport { \
192.168.0.1 . 192.168.0.2, \
192.168.0.1 . 192.168.0.3, \
}
# Concat expression
-rule add ip filter output ip daddr . tcp dport { \
+add rule ip filter output ip daddr . tcp dport { \
192.168.0.1 . 22, \
192.168.0.1 . 80, \
}