All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] auto-t: modify copy_to_storage to take optional dir
@ 2020-09-17 21:32 James Prestwood
  2020-09-17 21:20 ` Denis Kenzior
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: James Prestwood @ 2020-09-17 21:32 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

This is to prepare for testing EAD, and in this case we need
to copy the 8021x config to /var/lib/ead instead of IWD's
config dir.
---
 autotests/util/iwd.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index 67bb6e41..e812a4e4 100755
--- a/autotests/util/iwd.py
+++ b/autotests/util/iwd.py
@@ -921,12 +921,12 @@ class IWD(AsyncOpAbstract):
         fo.close()
 
     @staticmethod
-    def copy_to_storage(source):
+    def copy_to_storage(source, storage_dir=IWD_STORAGE_DIR):
         import shutil
 
         assert not os.path.isabs(source)
 
-        shutil.copy(source, IWD_STORAGE_DIR)
+        shutil.copy(source, storage_dir)
 
     @staticmethod
     def copy_to_hotspot(source):
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-09-17 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 21:32 [PATCH 1/6] auto-t: modify copy_to_storage to take optional dir James Prestwood
2020-09-17 21:20 ` Denis Kenzior
2020-09-17 21:32 ` [PATCH 2/6] doc: update hostapd.conf with DRIVER_WIRED James Prestwood
2020-09-17 21:32 ` [PATCH 3/6] auto-t: allow IWDDBusAbstract to work with any service James Prestwood
2020-09-17 21:32 ` [PATCH 4/6] auto-t: add ead.py module James Prestwood
2020-09-17 21:32 ` [PATCH 5/6] test-runner: allow EAD-based autotests James Prestwood
2020-09-17 21:32 ` [PATCH 6/6] auto-t: add EAD autotest James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.