You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mosquitto/test/lib/09-util-topic-tokenise.py

16 lines
310 B
Python

#!/usr/bin/env python3
from mosq_test_helper import *
rc = 1
client_args = sys.argv[1:]
client = mosq_test.start_client(filename=sys.argv[1].replace('/', '-'), cmd=client_args)
if mosq_test.wait_for_subprocess(client):
print("test client not finished")
rc=1
else:
rc=client.returncode
exit(rc)