netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH] tests/py: trivial: Fix error message
@ 2017-12-09 15:53 Phil Sutter
  2017-12-09 19:47 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Sutter @ 2017-12-09 15:53 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

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(-)

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
 
-- 
2.13.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-09 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-09 15:53 [nft PATCH] tests/py: trivial: Fix error message Phil Sutter
2017-12-09 19:47 ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).