Files
rtems/testsuites/support
Sebastian Huber d0ea465fc8 testsuites: Fix the build of tar02
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>
2026-09-03 06:56:06 +02:00
..
2026-09-03 06:56:06 +02:00