1 /* 2 * Copyright (c) 2016 Intel Corporation. 3 * Copyright (c) 2023 Husqvarna AB 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 9 #include "test_fat.h" 10 void test_fs_open_flags(void); 11 const char *test_fs_open_flags_file_path = FATFS_MNTP"/the_file.txt"; 12 fat_fs_basic_setup(void)13static void *fat_fs_basic_setup(void) 14 { 15 fs_file_t_init(&filep); 16 test_fat_mount(); 17 test_fat_file(); 18 test_fat_dir(); 19 test_fat_fs(); 20 test_fat_rename(); 21 test_fs_open_flags(); 22 #ifdef CONFIG_FS_FATFS_REENTRANT 23 test_fat_file_reentrant(); 24 #endif /* CONFIG_FS_FATFS_REENTRANT */ 25 test_fat_unmount(); 26 27 return NULL; 28 } 29 ZTEST_SUITE(fat_fs_basic, NULL, fat_fs_basic_setup, NULL, NULL, NULL); 30