tests: fs: ext2: Add dirops test

Use test_fs_dirops in ext2 tests.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
This commit is contained in:
Franciszek Zdobylak 2023-02-24 10:12:06 +01:00 committed by Anas Nashif
parent aa3daba6e3
commit deea6a070b

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2023 Antmicro
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/ztest.h>
#include <zephyr/fs/fs.h>
#include "utils.h"
void test_fs_dirops(void);
/* Mount structure needed by test_fs_basic tests. */
struct fs_mount_t *fs_dirops_test_mp = &testfs_mnt;
ZTEST(ext2tests, test_dirops)
{
/* Common dirops tests.
* (File system is mounted and unmounted during that test.)
*/
test_fs_dirops();
}