Home
last modified time | relevance | path

Searched refs:TEST_DIR (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_dir.c21 if (check_file_dir_exists(TEST_DIR)) { in test_mkdir()
22 TC_PRINT("[%s] exists, delete it\n", TEST_DIR); in test_mkdir()
24 TC_PRINT("Error deleting dir %s\n", TEST_DIR); in test_mkdir()
28 TC_PRINT("Creating new dir %s\n", TEST_DIR); in test_mkdir()
32 res = fs_mkdir(TEST_DIR); in test_mkdir()
55 TC_PRINT("Created dir %s!\n", TEST_DIR); in test_mkdir()
112 if (!check_file_dir_exists(TEST_DIR)) { in test_rmdir()
113 TC_PRINT("%s doesn't exist\n", TEST_DIR); in test_rmdir()
117 res = fs_opendir(&dirp, TEST_DIR); in test_rmdir()
123 TC_PRINT("\nRemoving files and sub directories in %s\n", TEST_DIR); in test_rmdir()
[all …]
Dtest_fat.h33 #define TEST_DIR FATFS_MNTP"/testdir" macro
/Zephyr-Core-3.5.0/tests/posix/fs/src/
Dtest_fs_dir.c24 res = mkdir(TEST_DIR, S_IRWXG); in test_mkdir()
49 TC_PRINT("Created dir %s!\n", TEST_DIR); in test_mkdir()
96 unlink(TEST_DIR); in after_fn()
127 zassert_true(test_lsdir(TEST_DIR) == TC_PASS); in ZTEST()
Dtest_fs_stat.c43 zassert_ok(mkdir(TEST_DIR, 0070)); in before_fn()
56 zassert_ok(unlink(TEST_DIR)); in after_fn()
97 zassert_equal(0, stat(TEST_DIR, &buf)); in ZTEST()
Dtest_fs.h12 #define TEST_DIR FATFS_MNTP"/testdir" macro
/Zephyr-Core-3.5.0/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_dir.c166 zassert_true(test_mkdir(TEST_DIR, TEST_DIR_FILE) == TC_PASS); in ZTEST()
168 zassert_true(test_lsdir(TEST_DIR) == TC_PASS); in ZTEST()
169 zassert_true(test_rmdir(TEST_DIR) == TC_PASS); in ZTEST()
Dtest_fat.h14 #define TEST_DIR FATFS_MNTP"/testdir" macro
/Zephyr-Core-3.5.0/tests/subsys/fs/multi-fs/src/
Dtest_littlefs_priv.h11 #define TEST_DIR_FILE_PATH TEST_DIR"/testfile.txt"
Dtest_fat_priv.h11 #define TEST_DIR_FILE_PATH TEST_DIR"/testfile.txt"
/Zephyr-Core-3.5.0/tests/subsys/fs/fs_api/src/
Dtest_fs.h19 #define TEST_DIR TEST_FS_MNTP"/testdir" macro
Dtest_fs_dir_file.c286 ret = fs_mkdir(TEST_DIR); in test_mkdir()
334 ret = fs_opendir(&dirp2, TEST_DIR); in test_opendir()
343 ret = fs_opendir(&dirp3, TEST_DIR); in test_opendir()
358 TC_PRINT("\nclosedir tests: %s\n", TEST_DIR); in test_closedir()
360 ret = fs_opendir(&dirp, TEST_DIR); in test_closedir()
396 ret = fs_opendir(&dirp, TEST_DIR); in test_opendir_closedir()
483 zassert_true(_test_lsdir(TEST_DIR) == TC_PASS); in test_lsdir()
990 ret = fs_stat(TEST_DIR, NULL); in ZTEST()
1005 ret = fs_stat(TEST_DIR, &entry); in ZTEST()
/Zephyr-Core-3.5.0/scripts/west_commands/tests/
Dtest_nrf.py35 TEST_DIR = Path(__file__).parent / 'nrf' variable
36 NRF5340_APP_ONLY_HEX = os.fspath(TEST_DIR / 'nrf5340_app_only.hex')
37 NRF5340_NET_ONLY_HEX = os.fspath(TEST_DIR / 'nrf5340_net_only.hex')
38 NRF5340_APP_AND_NET_HEX = os.fspath(TEST_DIR / 'nrf5340_app_and_net.hex')