[PATCH nft 6/9] tests: files: Remove test cases for variable definition.

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

 



New test cases for variable definition are added in tests/shell file.
So, remove these test cases.

Signed-off-by: Varsha Rao <rvarsha016@xxxxxxxxx>
---
 tests/files/symbolic-define.1 | 7 -------
 tests/files/symbolic-define.2 | 7 -------
 tests/files/symbolic-define.3 | 6 ------
 3 files changed, 20 deletions(-)
 delete mode 100644 tests/files/symbolic-define.1
 delete mode 100644 tests/files/symbolic-define.2
 delete mode 100644 tests/files/symbolic-define.3

diff --git a/tests/files/symbolic-define.1 b/tests/files/symbolic-define.1
deleted file mode 100644
index 712ef71..0000000
--- a/tests/files/symbolic-define.1
+++ /dev/null
@@ -1,7 +0,0 @@
-#! nft -f
-
-# error: variable use before definition
-define var2 = $var1
-define var1 = eth0
-
-filter input iif $var2
diff --git a/tests/files/symbolic-define.2 b/tests/files/symbolic-define.2
deleted file mode 100644
index cd3c23c..0000000
--- a/tests/files/symbolic-define.2
+++ /dev/null
@@ -1,7 +0,0 @@
-#! nft -f
-
-# error: redefinition of an existing variable
-define var1 = eth0
-define var1 = eth0
-
-filter input iif $var1
diff --git a/tests/files/symbolic-define.3 b/tests/files/symbolic-define.3
deleted file mode 100644
index ba224df..0000000
--- a/tests/files/symbolic-define.3
+++ /dev/null
@@ -1,6 +0,0 @@
-#! nft -f
-
-# error: recursive definition of a variable
-define var1 = $var1
-
-filter input iif $var1
-- 
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