[nft,1/9] tests: files: Remove jump chain tests.

Message ID 85195a19a17e1148e076670ce3f355d6436401df.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:37 a.m.
Tests for loop-detect 1, 2 and 3 are already there in tests/shell file.
New test for loop-detect.4 has been added to tests/shell file. So, remove
them.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
 tests/files/loop-detect.1 | 8 --------
 tests/files/loop-detect.2 | 7 -------
 tests/files/loop-detect.3 | 7 -------
 tests/files/loop-detect.4 | 7 -------
 4 files changed, 29 deletions(-)
 delete mode 100644 tests/files/loop-detect.1
 delete mode 100644 tests/files/loop-detect.2
 delete mode 100644 tests/files/loop-detect.3
 delete mode 100644 tests/files/loop-detect.4

Patch

diff --git a/tests/files/loop-detect.1 b/tests/files/loop-detect.1
deleted file mode 100644
index e55864c..0000000
--- a/tests/files/loop-detect.1
+++ /dev/null
@@ -1,8 +0,0 @@ 
-#! nft -f
-
-# Create table and empty chains for loop detection tests
-add table filter
-
-add chain filter chain1
-add chain filter chain2
-add chain filter chain3
diff --git a/tests/files/loop-detect.2 b/tests/files/loop-detect.2
deleted file mode 100644
index 88a95e0..0000000
--- a/tests/files/loop-detect.2
+++ /dev/null
@@ -1,7 +0,0 @@ 
-#! nft -f
-
-# Circular regular jumps: chain1 -> chain2 -> chain3 -> chain1
-flush table filter
-add filter chain1 jump chain2
-add filter chain2 jump chain3
-add filter chain3 jump chain1
diff --git a/tests/files/loop-detect.3 b/tests/files/loop-detect.3
deleted file mode 100644
index 80f7fc5..0000000
--- a/tests/files/loop-detect.3
+++ /dev/null
@@ -1,7 +0,0 @@ 
-#! nft -f
-
-# Circular jump when creating an anonymous verdict map: chain1 -> chain2 -> chain3 -> chain1
-flush table filter
-add filter chain1 jump chain2
-add filter chain2 jump chain3
-add filter chain3 ip daddr vmap { 10.0.0.1 : continue, 192.168.0.1 : jump chain1 }
diff --git a/tests/files/loop-detect.4 b/tests/files/loop-detect.4
deleted file mode 100644
index acd9a34..0000000
--- a/tests/files/loop-detect.4
+++ /dev/null
@@ -1,7 +0,0 @@ 
-#! nft -f
-
-# Circular jump with an intermediate anonymous verdict map: chain1 -> chain2 -> chain3 -> chain1
-flush table filter
-add filter chain1 jump chain2
-add filter chain2 ip daddr vmap { 10.0.0.1 : continue, 192.168.0.1 : jump chain3 }
-add filter chain3 jump chain1