eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1a2f10dacde9f7d5ec352f7a3ed054a4019a76f6
parent 25ec69b35837330198f3cc2dc1bb4c89a29a9dee
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Thu, 27 Jun 2019 08:57:33 -0700

auto-t: allow copy_to_storage to copy directories

Diffstat:
Mautotests/util/iwd.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py @@ -960,7 +960,11 @@ class IWD(AsyncOpAbstract): import shutil assert not os.path.isabs(source) - shutil.copy(source, IWD_STORAGE_DIR) + + if os.path.isdir(source): + shutil.copytree(source, IWD_STORAGE_DIR + "/%s" % source) + else: + shutil.copy(source, IWD_STORAGE_DIR) @staticmethod def remove_from_storage(file_name):