commit 5af5498aa9fb38976128ea2e8cfdd61327b8fa17
parent da65acbd0780f29ccdeb0ba4ed69071feb7db28b
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Mon, 5 Aug 2019 11:17:46 -0700
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.
Diffstat:
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/autotests/shell/hw.conf b/autotests/shell/hw.conf
@@ -0,0 +1,2 @@
+[SETUP]
+num_radios=1
diff --git a/autotests/shell/shell_test.py b/autotests/shell/shell_test.py
@@ -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)