From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: [nft PATCH] tests/py: trivial: Fix error message
Date: Sat, 9 Dec 2017 16:53:10 +0100 [thread overview]
Message-ID: <20171209155310.21920-1-phil@nwl.cc> (raw)
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
next reply other threads:[~2017-12-09 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-09 15:53 Phil Sutter [this message]
2017-12-09 19:47 ` [nft PATCH] tests/py: trivial: Fix error message Florian Westphal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171209155310.21920-1-phil@nwl.cc \
--to=phil@nwl.cc \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).