summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/nft-f/0007action_object_set_segfault_1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/nft-f/0007action_object_set_segfault_1')
-rwxr-xr-xtests/shell/testcases/nft-f/0007action_object_set_segfault_13
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/shell/testcases/nft-f/0007action_object_set_segfault_1 b/tests/shell/testcases/nft-f/0007action_object_set_segfault_1
index 933a2f62..6cbd3869 100755
--- a/tests/shell/testcases/nft-f/0007action_object_set_segfault_1
+++ b/tests/shell/testcases/nft-f/0007action_object_set_segfault_1
@@ -10,4 +10,5 @@ add set t s {type ipv4_addr\;}
add rule t c ip saddr @s
"
-$NFT -f - <<< "$RULESET" 2>/dev/null
+$NFT -f - <<< "$RULESET" 2>/dev/null && exit 1
+exit 0