Skip to content

Commit

Permalink
tests: fs: ext2: Add basic fs test
Browse files Browse the repository at this point in the history
Use test_fs_basic test in ext2 tests.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
  • Loading branch information
fzdobylak committed Feb 24, 2023
1 parent 31ddfed commit 4e8c956
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/subsys/fs/ext2/src/test_basic.c
Original file line number Diff line number Diff line change
@@ -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_basic(void);

/* Expected by test_fs_basic() */
struct fs_mount_t *fs_basic_test_mp = &testfs_mnt;

ZTEST(ext2tests, basic)
{
/* Common basic tests.
* (File system is mounted and unmounted during that test.)
*/
test_fs_basic();
}

0 comments on commit 4e8c956

Please sign in to comment.