[nft,7/9] tests: files: Remove tests for chain.

Message ID e54decd6d96b05de3fd424a465ec6ee2641dced2.1507696149.git.rvarsha016@gmail.com
State Accepted
Delegated to: Pablo Neira
Headers show
Series
  • tests: Move tests from files to shell.
Related show

Commit Message

Varsha Rao Oct. 11, 2017, 4:56 a.m.
Test cases for chain are there in tests/shell file. So, remove these
testcases.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
 tests/files/obj-chain | 22 ----------------------
 1 file changed, 22 deletions(-)
 delete mode 100644 tests/files/obj-chain

Patch

diff --git a/tests/files/obj-chain b/tests/files/obj-chain
deleted file mode 100644
index 2bce026..0000000
--- a/tests/files/obj-chain
+++ /dev/null
@@ -1,22 +0,0 @@ 
-#! nft -f
-
-add table filter
-
-# chains: add and delete chain
-add chain filter testchain
-delete chain filter testchain
-
-# chains: add and delete base chain
-add chain filter input { type filter hook input priority 0 ; }
-delete chain filter input
-
-# chains: can not delete chain while referenced
-add chain filter testchain
-add chain filter testchain2
-
-add rule filter testchain handle 1 jump testchain2
-delete chain filter testchain2
-delete rule filter testchain handle 1
-
-delete chain filter testchain2
-delete chain filter testchain