From ce9e61d727d2a86a30cf01d194b9fdb46bf4e279 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 15 Jul 2019 09:19:44 -0700 Subject: [PATCH] auto-t: hotspot dir not hidden --- autotests/util/iwd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 3b5abf57..e8c9d265 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -947,7 +947,7 @@ class IWD(AsyncOpAbstract): @staticmethod def clear_storage(): os.system('rm -rf ' + IWD_STORAGE_DIR + '/*') - os.system('rm -rf ' + IWD_STORAGE_DIR + '/.hotspot/*') + os.system('rm -rf ' + IWD_STORAGE_DIR + '/hotspot/*') @staticmethod def create_in_storage(file_name, file_content): @@ -970,10 +970,10 @@ class IWD(AsyncOpAbstract): assert not os.path.isabs(source) - if not os.path.exists(IWD_STORAGE_DIR + "/.hotspot"): - os.mkdir(IWD_STORAGE_DIR + "/.hotspot") + if not os.path.exists(IWD_STORAGE_DIR + "/hotspot"): + os.mkdir(IWD_STORAGE_DIR + "/hotspot") - shutil.copy(source, IWD_STORAGE_DIR + "/.hotspot") + shutil.copy(source, IWD_STORAGE_DIR + "/hotspot") @staticmethod def remove_from_storage(file_name):