zephyr/tests/subsys/fs/multi-fs/src/test_fat_dir.c
Gerard Marull-Paretas ade7ccb918 tests: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all tests to the new
prefix <zephyr/...>. Note that the conversion has been scripted, refer
to #45388 for more details.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-06 20:02:14 +02:00

28 lines
494 B
C

/*
* Copyright (c) 2018 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include <zephyr/fs/fs.h>
#include "test_common.h"
#include "test_fat.h"
#include "test_fat_priv.h"
void test_fat_mkdir(void)
{
zassert_true(test_mkdir(TEST_DIR_PATH, TEST_FILE) == TC_PASS, NULL);
}
void test_fat_readdir(void)
{
zassert_true(test_lsdir(TEST_DIR_PATH) == TC_PASS, NULL);
}
void test_fat_rmdir(void)
{
zassert_true(test_rmdir(TEST_DIR_PATH) == TC_PASS, NULL);
}