mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-14 16:09:24 +01:00
auto-t: Exercise '--dontask' iwctl command-line option
This commit is contained in:
parent
19529a4d3a
commit
b3ccabea9e
@ -36,6 +36,11 @@ class Test(unittest.TestCase):
|
||||
|
||||
device = wd.list_devices(1)[0]
|
||||
|
||||
# Use --dontaks cmd-line option
|
||||
with self.assertRaises(subprocess.CalledProcessError):
|
||||
subprocess.check_call(['iwctl', '-d', 'station',
|
||||
device.name, 'connect', ssid])
|
||||
|
||||
subprocess.check_call(['iwctl', '-P', 'passphrase',
|
||||
'station', device.name, 'connect', ssid])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user