diff options
Diffstat (limited to 'tests/shell/testcases/nft-f')
-rwxr-xr-x | tests/shell/testcases/nft-f/0021priority_variable_0 | 17 | ||||
-rwxr-xr-x | tests/shell/testcases/nft-f/0022priority_variable_0 | 17 | ||||
-rwxr-xr-x | tests/shell/testcases/nft-f/0023priority_variable_1 | 18 | ||||
-rwxr-xr-x | tests/shell/testcases/nft-f/0024priority_variable_1 | 18 | ||||
-rw-r--r-- | tests/shell/testcases/nft-f/0025policy_variable_0 | 17 | ||||
-rw-r--r-- | tests/shell/testcases/nft-f/0026policy_variable_0 | 17 | ||||
-rw-r--r-- | tests/shell/testcases/nft-f/0027policy_variable_1 | 18 | ||||
-rw-r--r-- | tests/shell/testcases/nft-f/0028policy_variable_1 | 18 |
8 files changed, 0 insertions, 140 deletions
diff --git a/tests/shell/testcases/nft-f/0021priority_variable_0 b/tests/shell/testcases/nft-f/0021priority_variable_0 deleted file mode 100755 index 2b143dbb..00000000 --- a/tests/shell/testcases/nft-f/0021priority_variable_0 +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Tests use of variables in priority specification - -set -e - -RULESET=" -define pri = filter - -table inet global { - chain prerouting { - type filter hook prerouting priority \$pri - policy accept - } -}" - -$NFT -f - <<< "$RULESET" diff --git a/tests/shell/testcases/nft-f/0022priority_variable_0 b/tests/shell/testcases/nft-f/0022priority_variable_0 deleted file mode 100755 index 51bc5eb1..00000000 --- a/tests/shell/testcases/nft-f/0022priority_variable_0 +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Tests use of variables in priority specification - -set -e - -RULESET=" -define pri = 10 - -table inet global { - chain prerouting { - type filter hook prerouting priority \$pri - policy accept - } -}" - -$NFT -f - <<< "$RULESET" diff --git a/tests/shell/testcases/nft-f/0023priority_variable_1 b/tests/shell/testcases/nft-f/0023priority_variable_1 deleted file mode 100755 index eddaf5b9..00000000 --- a/tests/shell/testcases/nft-f/0023priority_variable_1 +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Tests use of variables in priority specification - -set -e - -RULESET=" -define pri = * - -table inet global { - chain prerouting { - type filter hook prerouting priority \$pri - policy accept - } -}" - -$NFT -f - <<< "$RULESET" && exit 1 -exit 0 diff --git a/tests/shell/testcases/nft-f/0024priority_variable_1 b/tests/shell/testcases/nft-f/0024priority_variable_1 deleted file mode 100755 index 592cb56b..00000000 --- a/tests/shell/testcases/nft-f/0024priority_variable_1 +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Tests use of variables in priority specification - -set -e - -RULESET=" -define pri = { 127.0.0.1 } - -table inet global { - chain prerouting { - type filter hook prerouting priority \$pri - policy accept - } -}" - -$NFT -f - <<< "$RULESET" && exit 1 -exit 0 diff --git a/tests/shell/testcases/nft-f/0025policy_variable_0 b/tests/shell/testcases/nft-f/0025policy_variable_0 deleted file mode 100644 index b88e9680..00000000 --- a/tests/shell/testcases/nft-f/0025policy_variable_0 +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Tests use of variables in chain policy - -set -e - -RULESET=" -define default_policy = \"accept\" - -table inet global { - chain prerouting { - type filter hook prerouting priority filter - policy \$default_policy - } -}" - -$NFT -f - <<< "$RULESET" diff --git a/tests/shell/testcases/nft-f/0026policy_variable_0 b/tests/shell/testcases/nft-f/0026policy_variable_0 deleted file mode 100644 index d4d98ede..00000000 --- a/tests/shell/testcases/nft-f/0026policy_variable_0 +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Tests use of variables in chain policy - -set -e - -RULESET=" -define default_policy = \"drop\" - -table inet global { - chain prerouting { - type filter hook prerouting priority filter - policy \$default_policy - } -}" - -$NFT -f - <<< "$RULESET" diff --git a/tests/shell/testcases/nft-f/0027policy_variable_1 b/tests/shell/testcases/nft-f/0027policy_variable_1 deleted file mode 100644 index ae35516c..00000000 --- a/tests/shell/testcases/nft-f/0027policy_variable_1 +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Tests use of variables in chain policy - -set -e - -RULESET=" -define default_policy = { 127.0.0.1 } - -table inet global { - chain prerouting { - type filter hook prerouting priority filter - policy \$default_policy - } -}" - -$NFT -f - <<< "$RULESET" && exit 1 -exit 0 diff --git a/tests/shell/testcases/nft-f/0028policy_variable_1 b/tests/shell/testcases/nft-f/0028policy_variable_1 deleted file mode 100644 index 027eb015..00000000 --- a/tests/shell/testcases/nft-f/0028policy_variable_1 +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Tests use of variables in priority specification - -set -e - -RULESET=" -define default_policy = * - -table inet global { - chain prerouting { - type filter hook prerouting priority filter - policy \$default_policy - } -}" - -$NFT -f - <<< "$RULESET" && exit 1 -exit 0 |