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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

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
-- 
2.13.6

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux