summaryrefslogtreecommitdiff
path: root/tests/unittests/libubi_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/libubi_test.c')
-rw-r--r--tests/unittests/libubi_test.c1
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);