]> 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, 2 May 2025 05:43:58 +0000 (07:43 +0200)
commit7fa3d93d4d29dc820f887e2a329de69a079774b1
tree59c8a540a0d461b134896487959b8cd4920feaba
parent09dbf22fd68c2f1a81ab89670ffa1ec3033436c4
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