wifi_nmcli_test: reports the test passed when the connection failed

Bug #1718981 reported by Jonathan Cave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Snappy
Fix Released
Critical
Jonathan Cave

Bug Description

tag: snap-2017-09-14T1654

The return code of a "nmcli d wifi connect .." is not a valid indicator of successful connection. This is used in two locations:

https://git.launchpad.net/plainbox-provider-snappy/tree/bin/wifi_nmcli_test#n71
https://git.launchpad.net/plainbox-provider-snappy/tree/bin/wifi_nmcli_test#n81

It appears the return code will always be 0 and result in the test always passing.

Jonathan Cave (jocave)
Changed in plainbox-provider-snappy:
importance: Undecided → Critical
assignee: nobody → Jonathan Cave (jocave)
status: New → In Progress
Jonathan Cave (jocave)
Changed in plainbox-provider-snappy:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.