3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 22:42:37 +01:00

auto-t: add shell test

This is merely an empty test that can act as a sandbox for the new
--shell command. It was not named with 'test' so that autotesting
will skip it.

This test is not very useful for virtual hardware testing
(mac80211_hwsim), but very useful for USB/PCI passthrough. When
setup correctly, you can now pass through a single device and test
against real networks with a minimal kernel.
This commit is contained in:
James Prestwood 2019-08-05 11:17:46 -07:00 committed by Denis Kenzior
parent da65acbd07
commit 5af5498aa9
2 changed files with 22 additions and 0 deletions

2
autotests/shell/hw.conf Normal file
View File

@ -0,0 +1,2 @@
[SETUP]
num_radios=1

View File

@ -0,0 +1,20 @@
import unittest
import sys
sys.path.append('../util')
class Test(unittest.TestCase):
def test_connection_success(self):
pass
@classmethod
def setUpClass(cls):
pass
@classmethod
def tearDownClass(cls):
pass
if __name__ == '__main__':
unittest.main(exit=True)