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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The error message for failed chain creation quotes the chain's name but
lacked the closing tick.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux