diff options
Diffstat (limited to 'tests/shell/testcases/sets')
-rwxr-xr-x | tests/shell/testcases/sets/0072destroy_0 | 8 | ||||
-rwxr-xr-x | tests/shell/testcases/sets/0073destroy_0 | 7 | ||||
-rw-r--r-- | tests/shell/testcases/sets/dumps/0072destroy_0.nft | 2 | ||||
-rw-r--r-- | tests/shell/testcases/sets/dumps/0073destroy_0.nft | 2 |
4 files changed, 19 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/0072destroy_0 b/tests/shell/testcases/sets/0072destroy_0 new file mode 100755 index 00000000..c9cf9ff7 --- /dev/null +++ b/tests/shell/testcases/sets/0072destroy_0 @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e + +$NFT add table x +$NFT add set x s {type ipv4_addr\; size 2\;} + +$NFT destroy set x s diff --git a/tests/shell/testcases/sets/0073destroy_0 b/tests/shell/testcases/sets/0073destroy_0 new file mode 100755 index 00000000..a9d65a55 --- /dev/null +++ b/tests/shell/testcases/sets/0073destroy_0 @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e + +$NFT add table x + +$NFT destroy set x s diff --git a/tests/shell/testcases/sets/dumps/0072destroy_0.nft b/tests/shell/testcases/sets/dumps/0072destroy_0.nft new file mode 100644 index 00000000..5d4d2caf --- /dev/null +++ b/tests/shell/testcases/sets/dumps/0072destroy_0.nft @@ -0,0 +1,2 @@ +table ip x { +} diff --git a/tests/shell/testcases/sets/dumps/0073destroy_0.nft b/tests/shell/testcases/sets/dumps/0073destroy_0.nft new file mode 100644 index 00000000..5d4d2caf --- /dev/null +++ b/tests/shell/testcases/sets/dumps/0073destroy_0.nft @@ -0,0 +1,2 @@ +table ip x { +} |