Tests: Debug printing

This commit is contained in:
Roger A. Light 2026-04-27 23:56:58 +01:00 committed by Roger Light
parent ea69f5110b
commit 9741a765a1
3 changed files with 10 additions and 3 deletions

View file

@ -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)

View file

@ -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)

View file

@ -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: