diff options
Diffstat (limited to 'tests/shell/testcases/rule_management/0009delete_1')
-rwxr-xr-x | tests/shell/testcases/rule_management/0009delete_1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/shell/testcases/rule_management/0009delete_1 b/tests/shell/testcases/rule_management/0009delete_1 index 87fec605..8751fec3 100755 --- a/tests/shell/testcases/rule_management/0009delete_1 +++ b/tests/shell/testcases/rule_management/0009delete_1 @@ -6,6 +6,8 @@ set -e $NFT add table t $NFT add chain t c + # kernel ENOENT -$NFT delete rule t c handle 3333 2>/dev/null +$NFT delete rule t c handle 3333 2>/dev/null || exit 0 echo "E: missing kernel ENOENT" >&2 +exit 1 |