]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:20 +0000 (10:45 +0200)
commit16fae241f49a76d6b6151253f7bb0e1612b2efc3
treeccbad149f258d7fb413481cbd67724c9f6c30b76
parent14345d5d7db718a15a7c0ec14e2d0d92a59fea61
ktest: Fix Test Failures Due to Missing LOG_FILE Directories

[ Upstream commit 5a1bed232781d356f842576daacc260f0d0c8d2e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/ktest/ktest.pl