test-framework: force using linux paths in TF
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
#
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# Copyright(c) 2024 Huawei Technologies Co., Ltd.
|
||||
# Copyright(c) 2024-2025 Huawei Technologies Co., Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
from pathlib import Path
|
||||
from pathlib import PurePosixPath
|
||||
|
||||
from core.test_run import TestRun
|
||||
|
||||
systemd_service_directory = Path("/usr/lib/systemd/system/")
|
||||
systemd_service_directory = PurePosixPath("/usr/lib/systemd/system/")
|
||||
|
||||
|
||||
def enable_service(name):
|
||||
TestRun.executor.run_expect_success(f"systemctl enable {name}")
|
||||
|
Reference in New Issue
Block a user