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:
parent
aa3daba6e3
commit
deea6a070b
23
tests/subsys/fs/ext2/src/test_dirops.c
Normal file
23
tests/subsys/fs/ext2/src/test_dirops.c
Normal 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();
|
||||
}
|
Loading…
Reference in a new issue