[PATCH nft] tests: shell: use the given NFT instead of the one in the search path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: aa44b61a560d ("tests: shell: check for removing table via handle with incorrect family")
Signed-off-by: Zhongqiu Duan <dzq.aishenghu0@xxxxxxxxx>
---
 tests/shell/testcases/transactions/handle_bad_family | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/shell/testcases/transactions/handle_bad_family b/tests/shell/testcases/transactions/handle_bad_family
index 592241890a69..c9a723d7edcd 100755
--- a/tests/shell/testcases/transactions/handle_bad_family
+++ b/tests/shell/testcases/transactions/handle_bad_family
@@ -1,7 +1,5 @@
 #!/bin/bash
 
-NFT=nft
-
 HANDLE=$($NFT -a -e add table ip x | cut -d '#' -f 2 | awk '{ print $2 }' | head -1)
 
 # should fail
-- 
2.43.0





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux