diff options
Diffstat (limited to 'tests/shell/testcases/sets')
-rwxr-xr-x | tests/shell/testcases/sets/cache_handling_0 | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/shell/testcases/sets/cache_handling_0 b/tests/shell/testcases/sets/cache_handling_0 deleted file mode 100755 index 9a737695..00000000 --- a/tests/shell/testcases/sets/cache_handling_0 +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -tmpfile=$(mktemp) -if [ ! -w $tmpfile ] ; then - echo "Failed to create tmp file" >&2 - exit 0 -fi - -trap "rm -rf $tmpfile" EXIT # cleanup if aborted - -echo " -table inet test { - set test { - type ipv4_addr - elements = { 1.1.1.1} - } - - chain test { - ip saddr @test counter accept - ip daddr { 2.2.2.2} counter accept - } -}" > $tmpfile - -set -e - -$NFT -f $tmpfile -$NFT delete rule inet test test handle 2 -$NFT delete set inet test test -$NFT -f $tmpfile |