commit ce9e61d727d2a86a30cf01d194b9fdb46bf4e279
parent 85131f482750e969d43805b7da620253c5abdaba
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Mon, 15 Jul 2019 09:19:44 -0700
auto-t: hotspot dir not hidden
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git 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):