nuttx-apps/testing
Nightt f8a48fa5f3 testing/sd_stress: Harden file creation cleanup
Close the temporary file descriptor when create_files() fails after open(), and release the read buffer before returning from the path-length failure branch.

This is logically separable from the #3205 stale-directory fix: it does not change how existing /sd/stress is handled, but keeps the same failure paths from leaking resources while the stress test exits after an error.

The scope intentionally stays within sd_stress failure cleanup and does not touch SD/MMC transfer behavior or other testing drivers.

Signed-off-by: Nightt <87569709+nightt5879@users.noreply.github.com>
2026-05-25 10:28:32 +08:00
..
arch apps/testing: move himem_test,mtetest and x86-64-ABI folders to the new arhc folder 2025-01-20 17:48:48 +08:00
cmocka !testing/cmocka: Compile cmocka as a libary only by default 2026-01-12 10:14:55 +08:00
cxx apps: Fix minor issues for latest toolchains 2026-01-23 10:00:52 +08:00
cxx-oot-build testing/cxx-oot-build: Exclude cxx-oot-build in CMake projects. 2025-10-15 14:34:32 +08:00
drivers testing/sd_stress: Harden file creation cleanup 2026-05-25 10:28:32 +08:00
enet apps/testing: add cmock_test for enet in order to test send and receive pkt 2025-12-29 22:30:56 +08:00
fff testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fs apps: Fix additional open() arguments. 2026-05-22 13:39:04 +08:00
libc !testing/libc/scanftest: drop CONFIG_LIBC_LONG_LONG from help text 2026-05-11 17:38:32 +08:00
ltp testing/ltp: silence -Wshift-count-overflow on -Werror builds 2026-05-14 09:42:44 +02:00
mm !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
nettest testing/nettest: Add test for net bufpool 2025-01-14 14:39:44 +08:00
nuts testing/nuts: NuttX Unit Test Selection (NUTS) application. 2025-12-28 10:28:14 +08:00
ostest nshlib/testing: Fix open() arguments. 2026-05-22 13:39:04 +08:00
sched !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
testsuites apps: Fix codespell warnings. 2026-05-22 13:39:04 +08:00
unity apps/unity: Add printf configuration 2025-08-07 11:21:57 +08:00
.gitignore Ensure all source code end with one and only one newline 2020-02-09 08:14:49 -06:00
CMakeLists.txt testing/cxx-oot-build: Exclude cxx-oot-build in CMake projects. 2025-10-15 14:34:32 +08:00
Make.defs testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00