]> 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:43:34 +0000 (10:43 +0200)
commit1a5b71022e7210797d15a7f2cb099432901de937
tree41bf6c5467a0e0aa402d2ad921abb09b33304d44
parent660a53a0694d1f3789802509fe729dd4656fc5e0
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