diff mbox series

[nft] tests/py: trivial: Fix error message

Message ID 20171209155310.21920-1-phil@nwl.cc
State Accepted
Delegated to: Florian Westphal
Headers show
Series [nft] tests/py: trivial: Fix error message | expand

Commit Message

Phil Sutter Dec. 9, 2017, 3:53 p.m. UTC
The error message for failed chain creation quotes the chain's name but
lacked the closing tick.

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 tests/py/nft-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Florian Westphal Dec. 9, 2017, 7:47 p.m. UTC | #1
Phil Sutter <phil@nwl.cc> wrote:
> The error message for failed chain creation quotes the chain's name but
> lacked the closing tick.

applied, thanks Phil.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
index 9ad97714a3b56..6aedfb09e9729 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