mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
The test included test-support.h. No file of that name exists in the tree. The header which declares the file system test helpers is testsuites/support/include/test_support.h, and every other test includes it under that name. Include the header under the name which the tree gives it. test_cat() took the path as char *. It opens the path for reading and prints it, so it writes to no byte of it. The path of tar02 is a static const array, and the compiler rejected the call with -Werror=discarded-qualifiers. Take the path as const char *. A caller with a char * reaches the function as before. Update #5739. Assisted-by: Claude:claude-opus-5 claude-code Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>