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

Message ID ffd4d5178cf344bbdcf08f2db31cde308143a31b.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:53 a.m.
New test cases for variable definition are added in tests/shell file.
So, remove these test cases.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
 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

Patch

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