txy-21 opened a new pull request, #3359: URL: https://github.com/apache/nuttx-apps/pull/3359
## Summary This batch contains 10 testing and syscall-related bug fixes and improvements: - Fix cache_test flash dcache error - Fix date style errors in cache_test and arch_lib_test - Fix timerjitter data style error and signal-cause error - Clean up audio driver test cast issues - Fix various syscall test cases (socket, dup2, fsync, listen, close) - Fix net socket test case - Fix busy-wait case bug - Fix fdcheck compatibility issues ## Changes ### Testing Module Fixes - **cache_test**: Fixed up_flash_dcache error and removed extra newline - **arch_lib_test**: Fixed date style formatting error (2 changes) - **timerjitter**: Fixed signal-cause error, fixed data style error (totaling 4 changes) ### Syscall Test Fixes - **setsocketopt01_test.c**: Added missing fdcheck handling - **dup2_test.c**: Fixed fdcheck compatibility - **fsync_test.c**: Fixed fdcheck compatibility and added missing header - **listen_test.c**: Fixed UDP test handling without CONFIG_NET_UDP - **close_test.c**: Added badfd test for fdcheck ### Other Fixes - **drivertest_audio.c**: Cleaned up unnecessary (void *) cast - **net_socket_test_010.c**: Fixed socket test case for net module ## Files Changed - testing/mm/cachetest/cachetest_main.c - testing/libc/arch_libc/arch_libc_test_main.c - testing/sched/timerjitter/timerjitter.c - testing/drivers/drivertest/drivertest_audio.c - testing/testsuites/kernel/socket/cases/net_socket_test_010.c - testing/testsuites/kernel/syscall/cases/setsocketopt01_test.c - testing/testsuites/kernel/syscall/cases/dup2_test.c - testing/testsuites/kernel/syscall/cases/fsync_test.c - testing/testsuites/kernel/syscall/cases/listen_test.c - testing/testsuites/kernel/syscall/cases/close_test.c **Statistics**: 10 files changed, 18 insertions(+), 10 deletions(-) ## Impact These fixes improve test reliability and ensure proper operation with various NuttX configurations: - Better compatibility with fdcheck enabled - Proper formatting of test output - Correct handling of optional configurations (e.g., CONFIG_NET_UDP) - Cleaner code without unnecessary casts ## Testing All changes have been applied and tested through cherry-pick from internal Gerrit system. Tests should be executed with: - fdcheck enabled - fdcheck disabled - Various network configurations (with/without UDP) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
