From 8b6933aee868f3ff9db9e39e096ece6b6c819338 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Wed, 28 Jan 2026 21:48:38 +0100 Subject: [PATCH] Fix escape sequence Signed-off-by: Robert Baldyga --- test_tools/fs_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_tools/fs_tools.py b/test_tools/fs_tools.py index 7724da4..c5a8de5 100644 --- a/test_tools/fs_tools.py +++ b/test_tools/fs_tools.py @@ -1,6 +1,7 @@ # # Copyright(c) 2019-2022 Intel Corporation # Copyright(c) 2023-2024 Huawei Technologies Co., Ltd. +# Copyright(c) 2026 Unvertical # SPDX-License-Identifier: BSD-3-Clause # @@ -362,7 +363,7 @@ def find_all_files(path: str, recursive: bool = True): if not path.strip(): raise ValueError("No path given.") - output = TestRun.executor.run_expect_success(f"find \"{path}\" {'-maxdepth 1' if not recursive else ''} \( -type f -o -type l \) -print") + output = TestRun.executor.run_expect_success(f"find \"{path}\" {'-maxdepth 1' if not recursive else ''} \\( -type f -o -type l \\) -print") return output.stdout.splitlines()