path: root/tests/shell/testcases/sets
diff options
authorPhil Sutter <>2019-06-07 19:25:26 +0200
committerPablo Neira Ayuso <>2019-06-08 00:04:24 +0200
commitc145e3d0b07d60154449c1e54a064f9ab16e82fc (patch)
tree6ee918b3a8d7d6efc92fd92a0ea1c2b16be54555 /tests/shell/testcases/sets
parentb089c42f4ba806b93e16bae4e3963f12a33deaf3 (diff)
tests/shell: Fix warning from awk call
Syntax passed to awk in that one testcase caused a warning, fix the syntax. Fixes: e0a9aad024809 ("tests: shell: fix tests for deletion via handle attribute") Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests/shell/testcases/sets')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/testcases/sets/0028delete_handle_0 b/tests/shell/testcases/sets/0028delete_handle_0
index 626d51bc..4e8b3228 100755
--- a/tests/shell/testcases/sets/0028delete_handle_0
+++ b/tests/shell/testcases/sets/0028delete_handle_0
@@ -7,7 +7,7 @@ $NFT add set test-ip y { type inet_service \; timeout 3h45s \;}
$NFT add set test-ip z { type ipv4_addr\; flags constant , interval\;}
$NFT add set test-ip c {type ipv4_addr \; flags timeout \; elements={ timeout 10s, timeout 30s} \;}
-set_handle=$($NFT list ruleset -a | awk '/set\ c/{print $NF}')
+set_handle=$($NFT list ruleset -a | awk '/set c/{print $NF}')
$NFT delete set test-ip handle $set_handle
EXPECTED="table ip test-ip {