Searched refs:uarts (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/components/vfs/test/ |
D | test_vfs_access.c | 30 const char *uarts[] = { variable 44 for (size_t i = 0; i < sizeof(uarts)/sizeof(uarts[0]); ++i) { 45 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], F_OK), 0, uarts[i]); 47 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], R_OK), 0, uarts[i]); 48 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], W_OK), 0, uarts[i]); 49 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], X_OK), -1, uarts[i]); 50 TEST_ASSERT_EQUAL_MESSAGE(errno, EACCES, uarts[i]); 52 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], R_OK | W_OK), 0, uarts[i]); 53 TEST_ASSERT_EQUAL_MESSAGE(access(uarts[i], R_OK | X_OK), -1, uarts[i]); 54 TEST_ASSERT_EQUAL_MESSAGE(errno, EACCES, uarts[i]); [all …]
|