1 /* 2 * Copyright (c) 2016 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "test_fat.h" 8 9 struct fs_file_t filep; 10 const char test_str[] = "hello world!"; 11 check_file_dir_exists(const char * path)12int check_file_dir_exists(const char *path) 13 { 14 int res; 15 struct fs_dirent entry; 16 17 /* Verify fs_stat() */ 18 res = fs_stat(path, &entry); 19 20 return !res; 21 } 22