From: Florian Westphal Date: Mon, 14 Jul 2025 18:37:57 +0000 (+0200) Subject: tests: bogons: fix missing file name when logging X-Git-Tag: v1.1.4~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85b9124868886fc1015ca3f37da5c138123819a4;p=thirdparty%2Fnftables.git tests: bogons: fix missing file name when logging When the json is parsed without returning an error the test fails. Its supposed to log the name of the failed input which it does for -f but not for -j -f. Signed-off-by: Florian Westphal --- diff --git a/tests/shell/testcases/bogons/assert_failures b/tests/shell/testcases/bogons/assert_failures index 74e162ad..6be92127 100755 --- a/tests/shell/testcases/bogons/assert_failures +++ b/tests/shell/testcases/bogons/assert_failures @@ -46,5 +46,5 @@ for f in $jsondir/*; do echo "Check json input $f" $NFT --check -j -f "$f" 2> "$tmpfile" - die_on_error $? + die_on_error $? "$f" done