diff options
author | Tom Rini <trini@konsulko.com> | 2019-04-10 08:18:18 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-10 08:18:18 -0400 |
commit | 48ff1bc4f0a97c3291d0c87c2717fc1d79da5ef5 (patch) | |
tree | 52c7f1f8b5f402e48fffbf4cc823da0f9f4d980c /test/py/tests/test_fs/test_basic.py | |
parent | 4c24dab391003b99b1e0784fd41fe756cb07039e (diff) | |
parent | 0a8406602ae5f234f3f670ab59628673cc52ff4d (diff) |
Merge branch '2019-04-09-master-imports-fs'
- test.py tests for mmc
- ext4 symlink support and other fixes
- ext4 block group descriptor sizing
Diffstat (limited to 'test/py/tests/test_fs/test_basic.py')
-rw-r--r-- | test/py/tests/test_fs/test_basic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/py/tests/test_fs/test_basic.py b/test/py/tests/test_fs/test_basic.py index 140ca29ac7..71f3e86fb1 100644 --- a/test/py/tests/test_fs/test_basic.py +++ b/test/py/tests/test_fs/test_basic.py @@ -11,6 +11,7 @@ This test verifies basic read/write operation on file system. import pytest import re from fstest_defs import * +from fstest_helpers import assert_fs_integrity @pytest.mark.boardspec('sandbox') @pytest.mark.slow @@ -237,6 +238,7 @@ class TestFsBasic(object): 'md5sum %x $filesize' % ADDR, 'setenv filesize']) assert(md5val[0] in ''.join(output)) + assert_fs_integrity(fs_type, fs_img) def test_fs12(self, u_boot_console, fs_obj_basic): """ @@ -252,6 +254,7 @@ class TestFsBasic(object): 'host bind 0 %s' % fs_img, '%swrite host 0:0 %x /. 0x10' % (fs_type, ADDR)]) assert('Unable to write' in ''.join(output)) + assert_fs_integrity(fs_type, fs_img) def test_fs13(self, u_boot_console, fs_obj_basic): """ @@ -286,3 +289,4 @@ class TestFsBasic(object): 'md5sum %x $filesize' % ADDR, 'setenv filesize']) assert(md5val[0] in ''.join(output)) + assert_fs_integrity(fs_type, fs_img) |