From: Phil Sutter Date: Sat, 9 Dec 2017 15:53:10 +0000 (+0100) Subject: tests/py: trivial: Fix error message X-Git-Tag: v0.8.1~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0521ad2af7fc7a19cb3cccd34332293e631b337;p=thirdparty%2Fnftables.git tests/py: trivial: Fix error message The error message for failed chain creation quotes the chain's name but lacked the closing tick. Signed-off-by: Phil Sutter Signed-off-by: Florian Westphal --- diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py index 9ad97714..6aedfb09 100755 --- a/tests/py/nft-test.py +++ b/tests/py/nft-test.py @@ -248,7 +248,7 @@ def chain_create(chain, table, filename): ret = execute_cmd(cmd, filename, chain.lineno) if ret != 0: - reason = "I cannot create the chain '" + chain.name + reason = "I cannot create the chain '" + chain.name + "'" print_error(reason, filename, chain.lineno) return -1