mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Tests: Debug printing
This commit is contained in:
parent
ea69f5110b
commit
9741a765a1
|
|
@ -31,7 +31,8 @@ def do_test(proto_ver, configenv):
|
|||
'-p', str(port),
|
||||
'-q', '1',
|
||||
'-V', V,
|
||||
'-C', '1'
|
||||
'-C', '1',
|
||||
'-d',
|
||||
]
|
||||
|
||||
payload = "783c9cc5-5ad8-433f-a4ee-7dcd978c90a8"
|
||||
|
|
@ -61,6 +62,8 @@ def do_test(proto_ver, configenv):
|
|||
print("broker not terminated")
|
||||
if rc == 0: rc=1
|
||||
if rc:
|
||||
print(sub.stdout)
|
||||
print(sub.stderr)
|
||||
print(mosq_test.broker_log(broker))
|
||||
print("proto_ver=%d" % (proto_ver))
|
||||
exit(rc)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ def do_test(proto_ver, configenv):
|
|||
cmd = [mosq_paths.mosquitto_pub,
|
||||
'-p', str(port),
|
||||
'-q', '1',
|
||||
'-V', V
|
||||
'-V', V,
|
||||
'-d',
|
||||
]
|
||||
|
||||
mid = 1
|
||||
|
|
@ -59,6 +60,8 @@ def do_test(proto_ver, configenv):
|
|||
print("broker not terminated")
|
||||
if rc == 0: rc=1
|
||||
if rc:
|
||||
print(pub.stdout)
|
||||
print(pub.stderr)
|
||||
print(mosq_test.broker_log(broker))
|
||||
print("proto_ver=%d" % (proto_ver))
|
||||
exit(rc)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,8 @@ def do_test(proto_ver, configenv):
|
|||
'-p', str(port),
|
||||
'-q', '1',
|
||||
'-V', V,
|
||||
'-m', payload
|
||||
'-m', payload,
|
||||
'-d',
|
||||
]
|
||||
|
||||
if proto_ver == 5:
|
||||
|
|
|
|||
Loading…
Reference in a new issue