jiridanek opened a new pull request #802:
URL: https://github.com/apache/qpid-dispatch/pull/802
The current implementation is failing with the tests in this PR in the
following ways. The value `36875` is random (from reading uninitialized
memory). CC @fgiorgetti
```
$ c_unittests -r=xml -ts=* -tc=test_qd_port_int
/home/jdanek/repos/qpid/qpid-dispatch/tests/c_unittests/test_amqp.cpp:32:
Failure:
CHECK(qd_port_int("0") == 0)
with expansion:
36875 == 0
/home/jdanek/repos/qpid/qpid-dispatch/tests/c_unittests/test_amqp.cpp:44:
Failure:
CHECK(qd_port_int("") == -1)
with expansion:
0 == -1
/home/jdanek/repos/qpid/qpid-dispatch/tests/c_unittests/test_amqp.cpp:46:
Failure:
CHECK(qd_port_int("42http") == -1)
with expansion:
42 == -1
/home/jdanek/repos/qpid/qpid-dispatch/tests/c_unittests/test_amqp.cpp:47:
Failure:
CHECK(qd_port_int("http42") == -1)
with expansion:
36875 == -1
/home/jdanek/repos/qpid/qpid-dispatch/tests/c_unittests/test_amqp.cpp:49:
Failure:
CHECK(qd_port_int("no_such_port") == -1)
with expansion:
36875 == -1
Process finished with exit code 1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]