This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch jd_2022_02_03_macoslibssl
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git

commit dd60d03ef9c5329d3e3ae66ac6724dce700ed4e9
Author: Jiri DanÄ›k <[email protected]>
AuthorDate: Mon Nov 29 17:18:52 2021 +0100

    PROTON-2471 Run raw connection examples during proton-c examples test
---
 c/examples/testme | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/c/examples/testme b/c/examples/testme
index 26dfa57..e256df9 100755
--- a/c/examples/testme
+++ b/c/examples/testme
@@ -115,8 +115,8 @@ class ExampleTest(unittest.TestCase):
     def test_raw_connect(self):
         message = b"At thee! Have at thee!\n"
 
-        with Server(["./raw_echo", "", "0"], kill_me=True) as server:
-            client = subprocess.Popen(args=["./raw_connect", "", server.port],
+        with Server(["raw_echo", "", "0"], kill_me=True) as server:
+            client = subprocess.Popen(args=["raw_connect", "", server.port],
                                       stdin=subprocess.PIPE, 
stdout=subprocess.PIPE)
             client.stdin.write(message)
             client.stdin.flush()
@@ -134,7 +134,7 @@ class ExampleTest(unittest.TestCase):
         """raw_echo example implements a TCP echo server"""
         message = b"Hello world\n"
 
-        with Server(["./raw_echo", "", "0"], kill_me=True) as server:
+        with Server(["raw_echo", "", "0"], kill_me=True) as server:
             s = socket.socket()
             s.connect(("localhost", int(server.port)))
             s.sendall(message)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to