From ad74cbd63a9782e8285f7198a5055d7947998b7f Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 20 Jan 2026 22:47:02 +0100 Subject: [PATCH] tests: json_echo: Drop rule handle before multi-add Now that JSON parser respects rule handles in explicit add commands, the still present rule handle causes an error since the old rule does not exist anymore. Fixes: 50b5b71ebeee3 ("parser_json: Rewrite echo support") Signed-off-by: Phil Sutter --- tests/json_echo/run-test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/json_echo/run-test.py b/tests/json_echo/run-test.py index a3085b35..7d0eca0a 100755 --- a/tests/json_echo/run-test.py +++ b/tests/json_echo/run-test.py @@ -290,6 +290,7 @@ add_quota["add"]["quota"]["name"] = "q" do_flush() print("doing multi add") +del(add_rule["add"]["rule"]["handle"]) add_multi = [ add_table, add_chain, add_set, add_rule ] out = do_command(add_multi)