diff options
author | danicampora <daniel@wipy.io> | 2015-11-16 20:37:58 +0100 |
---|---|---|
committer | danicampora <daniel@wipy.io> | 2015-11-16 23:43:47 +0100 |
commit | e4404fbef077a481e58ec0b31dfcf79b521caff6 (patch) | |
tree | 34cfdd8699ce2c1b1a9befe17ba81f0bdfdaa372 /tests | |
parent | 65971f5160ae328ebe6fcaf0ca4223dd46f49365 (diff) | |
download | micropython-e4404fbef077a481e58ec0b31dfcf79b521caff6.tar.gz micropython-e4404fbef077a481e58ec0b31dfcf79b521caff6.zip |
cc3200: Unmount all user file systems after a soft reset.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wipy/os.py | 10 | ||||
-rw-r--r-- | tests/wipy/os.py.exp | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/wipy/os.py b/tests/wipy/os.py index cacd10958a..f81d1cee8a 100644 --- a/tests/wipy/os.py +++ b/tests/wipy/os.py @@ -125,6 +125,16 @@ except: print('Exception') try: + os.unmount('/something') +except: + print('Exception') + +try: + os.unmount('something') +except: + print('Exception') + +try: os.mkfs('flash') # incorrect path format except: print('Exception') diff --git a/tests/wipy/os.py.exp b/tests/wipy/os.py.exp index 55a0879aad..a0f01e35e1 100644 --- a/tests/wipy/os.py.exp +++ b/tests/wipy/os.py.exp @@ -27,4 +27,6 @@ Exception Exception Exception Exception +Exception +Exception ['flash', 'sd'] |