Home
last modified time | relevance | path

Searched refs:TEST_FILE (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c17 if (check_file_dir_exists(TEST_FILE)) { in test_file_open()
18 TC_PRINT("Opening existing file %s\n", TEST_FILE); in test_file_open()
20 TC_PRINT("Creating new file %s\n", TEST_FILE); in test_file_open()
24 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_file_open()
30 TC_PRINT("Opened file %s\n", TEST_FILE); in test_file_open()
32 if (check_file_dir_exists(TEST_FILE)) { in test_file_open()
33 TC_PRINT("File now exists %s\n", TEST_FILE); in test_file_open()
243 TC_PRINT("Closed file %s\n", TEST_FILE); in test_file_close()
255 res = fs_unlink(TEST_FILE); in test_file_delete()
262 if (check_file_dir_exists(TEST_FILE)) { in test_file_delete()
[all …]
Dtest_fat.h28 #define TEST_FILE FATFS_MNTP \ macro
31 #define TEST_FILE FATFS_MNTP"/testfile.txt" macro
Dtest_fat_file_reentrant.c47 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_reentrant_access()
58 res = fs_unlink(TEST_FILE); in test_reentrant_access()
73 res = fs_open(&filep, TEST_FILE, FS_O_CREATE | FS_O_RDWR); in test_reentrant_parallel_file_access()
103 res = fs_unlink(TEST_FILE); in test_reentrant_parallel_file_access()
/Zephyr-Core-3.5.0/tests/subsys/fs/multi-fs/src/
Dtest_littlefs_priv.h8 #define TEST_FILE "testfile.txt" macro
9 #define TEST_FILE_PATH LFS_MNTP"/"TEST_FILE
Dtest_fat_priv.h8 #define TEST_FILE "testfile.txt" macro
9 #define TEST_FILE_PATH FATFS_MNTP"/"TEST_FILE
Dtest_fat_dir.c16 zassert_true(test_mkdir(TEST_DIR_PATH, TEST_FILE) == TC_PASS); in test_fat_mkdir()
Dtest_littlefs_dir.c16 zassert_true(test_mkdir(TEST_DIR_PATH, TEST_FILE) == TC_PASS); in test_littlefs_mkdir()
/Zephyr-Core-3.5.0/tests/posix/fs/src/
Dtest_fs_stat.c45 create_file(TEST_FILE, TEST_FILE_SIZE); in before_fn()
54 zassert_ok(unlink(TEST_FILE)); in after_fn()
70 zassert_equal(0, stat(TEST_FILE, &buf)); in ZTEST()
Dtest_fs.h11 #define TEST_FILE FATFS_MNTP"/testfile.txt" macro
Dtest_fs_file.c19 res = open(TEST_FILE, O_CREAT | O_RDWR); in test_file_open()
148 res = unlink(TEST_FILE); in test_file_delete()
162 unlink(TEST_FILE); in after_fn()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/ll/edtt/tests_scripts/
Dhci.llcp.sh9 export TEST_FILE=${CWD}"/hci.llcp.test_list"
Dll.1.llcp.sh10 export TEST_FILE=${CWD}"/ll.set1.llcp.test_list"
Dll.2.llcp.sh10 export TEST_FILE=${CWD}"/ll.set2.llcp.test_list"
Dgap.llcp.sh9 export TEST_FILE=${CWD}"/gap.llcp.test_list"
D_controller_tests_inner.sh92 -T $TEST_MODULE -C $TEST_FILE -v=${VERBOSITY_LEVEL_EDTT} -S -l --low-level-device-nbr=3 \
/Zephyr-Core-3.5.0/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat.h13 #define TEST_FILE FATFS_MNTP"/testfile.txt" macro
Dtest_fat_file.c309 zassert_true(test_file_open(TEST_FILE) == TC_PASS); in ZTEST()
315 zassert_true(test_file_delete(TEST_FILE) == TC_PASS); in ZTEST()
/Zephyr-Core-3.5.0/tests/subsys/fs/fs_api/src/
Dtest_fs.h16 #define TEST_FILE TEST_FS_MNTP"/testfile.txt" macro
Dtest_fs_dir_file.c518 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
522 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
526 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_open()
529 TC_PRINT("Opened file %s\n", TEST_FILE); in test_file_open()
619 ret = fs_open(&filep, TEST_FILE, FS_O_RDWR); in _test_file_sync()
917 ret = fs_open(&filep, TEST_FILE, FS_O_READ); in test_file_close()
927 TC_PRINT("Closed file %s\n", TEST_FILE); in test_file_close()
962 ret = fs_rename(TEST_FILE, "/SDCARD:/testfile_renamed.txt"); in ZTEST()
965 ret = fs_rename(TEST_FILE, TEST_FILE_EX); in ZTEST()
971 ret = fs_rename(TEST_FILE, TEST_FILE_RN); in ZTEST()