mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
12 lines
444 B
Python
Executable file
12 lines
444 B
Python
Executable file
#!/usr/bin/env python3
|
|
# Test whether a broker handles cleansession and local_cleansession correctly on bridges
|
|
|
|
from collections import namedtuple
|
|
|
|
from mosq_test_helper import *
|
|
|
|
mosq_test.require_features(["INC_BRIDGE_SUPPORT"])
|
|
|
|
(port_a_listen, port_b_listen) = mosq_test.get_port(2)
|
|
subprocess.run(['python3', f'{Path(__file__).resolve().parent}/06-bridge-clean-session-core.py', str(port_a_listen), str(port_b_listen), "False", "False"])
|