diff options
author | Balint Reczey <balint@balintreczey.hu> | 2018-02-06 05:31:32 +0700 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2018-02-14 15:52:27 +0100 |
commit | 9c6173559f95e939e66efb2ec3193d6f3618cf69 (patch) | |
tree | 22148a73f24f9205a9be4a245853b68d919fb2d8 /tests/unittests/libubi_test.c | |
parent | daef4f155f4b677907f210d93839013204168d02 (diff) |
mtd: unittests: Stop testing stat() calls
Sometimes __xstat is called instead that makes tests fragile.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/unittests/libubi_test.c')
-rw-r--r-- | tests/unittests/libubi_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unittests/libubi_test.c b/tests/unittests/libubi_test.c index 8deae91..35eb28f 100644 --- a/tests/unittests/libubi_test.c +++ b/tests/unittests/libubi_test.c @@ -98,7 +98,6 @@ static libubi_t mock_libubi_open() static void test_ubi_dev_present(void **state) { libubi_t lib = mock_libubi_open(); - expect_stat(SYSFS_ROOT "/class/ubi/ubi0", 0); int r = ubi_dev_present(lib, 0); assert_int_equal(r, 1); |