]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ktest: Fix Test Failures Due to Missing LOG_FILE Directories
authorAyush Jain <Ayush.jain3@amd.com>
Fri, 7 Mar 2025 04:38:54 +0000 (04:38 +0000)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 27 Mar 2025 13:34:00 +0000 (09:34 -0400)
commit5a1bed232781d356f842576daacc260f0d0c8d2e
tree01977b6ee127f82c8fcfda7c4394a538273c17af
parent7eb172143d5508b4da468ed59ee857c6e5e01da6
ktest: Fix Test Failures Due to Missing LOG_FILE Directories

Handle missing parent directories for LOG_FILE path to prevent test
failures. If the parent directories don't exist, create them to ensure
the tests proceed successfully.

Cc: <warthog9@eaglescrag.net>
Link: https://lore.kernel.org/20250307043854.2518539-1-Ayush.jain3@amd.com
Signed-off-by: Ayush Jain <Ayush.jain3@amd.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl