diff options
Diffstat (limited to 'tests/shell/testcases/cache/0004_cache_update_0')
-rwxr-xr-x | tests/shell/testcases/cache/0004_cache_update_0 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/shell/testcases/cache/0004_cache_update_0 b/tests/shell/testcases/cache/0004_cache_update_0 new file mode 100755 index 00000000..697d9de0 --- /dev/null +++ b/tests/shell/testcases/cache/0004_cache_update_0 @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Trigger a crash or rule restore error with nft 0.9.1 +$NFT -f - >/dev/null <<EOF +flush ruleset +table inet testfilter { +} +table inet testfilter { + chain test { + counter + } +} +EOF |