3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +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:
James Prestwood 2022-06-03 10:05:53 -07:00 committed by Denis Kenzior
parent 19693f587f
commit 0545dbcf24

View File

@ -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):