Re: [PATCH] selftests/ftrace: Avoid unlink error on first run

From: Shuah Khan

Date: Wed Oct 14 2026 - 12:08:53 EST


On 10/14/26 08:21, Masami Hiramatsu (Google) wrote:
On Wed, 14 Oct 2026 20:48:25 +0900, Jaewon Jung <jaewon8868@xxxxxxxxx> wrote:
On the first run, ftracetest tries to unlink a symlink that does not
exist.
Use rm -f to avoid the "No such file or directory" error.

Fixes: 7dc1e125f07a ("ftrace/selftests: Add softlink to latest log directory")
Signed-off-by: Jaewon Jung <jaewon8868@xxxxxxxxx>

Looks good to me.

Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>

Shuah, will you pick this?

Done.

thanks,
-- Shuah