mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
auto-t: remove ifconfig call from testScan
ifconfig isn't available by default in several linux distros so instead use 'ip' which seems to be much more widespread.
This commit is contained in:
parent
19693f587f
commit
0545dbcf24
@ -18,7 +18,7 @@ class Test(unittest.TestCase):
|
||||
device.autoconnect = True
|
||||
device.scan(wait=False)
|
||||
|
||||
os.system('ifconfig %s down' % device.name)
|
||||
os.system('ip link set dev %s down' % device.name)
|
||||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
|
Loading…
Reference in New Issue
Block a user