NetworkManager/callouts/tests/dispatcher-connectivity-full
Mario Sanchez Prada 570e8ee296 nm-dispatcher: Handle the 'connectivity-state' parameter for 'Action'
Actually handle this new parameter in the nm-dispatcher process, setting
the value of a new CONNECTIVITY_STATE environment variable accordingly.

This patch also includes new tests to check the different cases.

https://bugzilla.gnome.org/show_bug.cgi?id=768969
2016-07-28 22:22:14 +02:00

23 lines
544 B
Text

[main]
action=connectiviy-change
expected-iface=wlan0
uuid=3fd2a33a-d81b-423f-ae99-e6baba742311
id=Random Connection
connectivity-state=FULL
[device]
state=30
ip-interface=wlan0
type=2
interface=wlan0
path=/org/freedesktop/NetworkManager/Devices/0
[env]
PATH=
CONNECTION_UUID=3fd2a33a-d81b-423f-ae99-e6baba742311
CONNECTION_DBUS_PATH=/org/freedesktop/NetworkManager/Connections/5
CONNECTION_ID=Random Connection
CONNECTION_FILENAME=/callouts/tests/dispatcher-connectivity-full
DEVICE_IFACE=wlan0
DEVICE_IP_IFACE=wlan0
CONNECTIVITY_STATE=FULL