From b81ebeb917a33afcaa2e8147a2fb2b6e01f49330 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 22 Jan 2018 19:54:36 +0100 Subject: tests: shell: add flowtable tests Add basic flowtable tests. Signed-off-by: Pablo Neira Ayuso --- tests/shell/testcases/flowtable/0003add_after_flush_0 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/shell/testcases/flowtable/0003add_after_flush_0 (limited to 'tests/shell/testcases/flowtable/0003add_after_flush_0') diff --git a/tests/shell/testcases/flowtable/0003add_after_flush_0 b/tests/shell/testcases/flowtable/0003add_after_flush_0 new file mode 100755 index 00000000..1f3cb18a --- /dev/null +++ b/tests/shell/testcases/flowtable/0003add_after_flush_0 @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e +$NFT add table x +$NFT add flowtable x y { hook ingress priority 0\; devices = { eth0, wlan0 }\;} +$NFT flush ruleset +$NFT add table x +$NFT add flowtable x y { hook ingress priority 0\; devices = { eth0, wlan0 }\;} -- cgit v1.2.3