Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/tests/ftest/util/launch_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
(C) Copyright 2022-2024 Intel Corporation.
(C) Copyright 2025 Hewlett Packard Enterprise Development LP
(C) Copyright 2025-2026 Hewlett Packard Enterprise Development LP

SPDX-License-Identifier: BSD-2-Clause-Patent
"""
Expand Down Expand Up @@ -45,6 +45,13 @@ def fault_injection_enabled(logger):
bool: whether or not fault injection is enabled
"""
logger.debug("-" * 80)
logger.debug("Checking if 'fault_status' utility is available:")
if run_local(logger, "which fault_status").passed:
logger.debug(" fault_status is available")
else:
logger.debug(" fault_status is not available")
logger.debug("Assuming fault injection is enabled")
return True
logger.debug("Checking for fault injection enablement via 'fault_status':")
if run_local(logger, "fault_status").passed:
logger.debug(" Fault injection is enabled")
Expand Down
Loading