You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2018/06/26 15:22:02 UTC

qpid-dispatch git commit: DISPATCH-1047: open the pipe to saslpasswd2 in text mode. This closes #329

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master b07d9461a -> 13652ac4e


DISPATCH-1047: open the pipe to saslpasswd2 in text mode. This closes #329


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/13652ac4
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/13652ac4
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/13652ac4

Branch: refs/heads/master
Commit: 13652ac4e4bd724ce9a9278611a9e219071f5896
Parents: b07d946
Author: Kenneth Giusti <kg...@apache.org>
Authored: Sat Jun 23 17:18:39 2018 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Tue Jun 26 11:21:26 2018 -0400

----------------------------------------------------------------------
 tests/system_tests_ssl.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/13652ac4/tests/system_tests_ssl.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_ssl.py b/tests/system_tests_ssl.py
index f46c32e..1a5b45d 100644
--- a/tests/system_tests_ssl.py
+++ b/tests/system_tests_ssl.py
@@ -53,7 +53,8 @@ class RouterTestSslBase(TestCase):
         # Create a sasl database.
         pipe = Popen(['saslpasswd2', '-c', '-p', '-f', 'qdrouterd.sasldb',
                       '-u', 'domain.com', 'test'],
-                     stdin=PIPE, stdout=PIPE, stderr=PIPE)
+                     stdin=PIPE, stdout=PIPE, stderr=PIPE,
+                     universal_newlines=True)
         result = pipe.communicate('password')
         assert pipe.returncode == 0, \
             "saslpasswd2 exit status %s, output:\n%s" % (pipe.returncode, result)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org