Skip to content
Draft
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions case-lib/hijack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ SUDO_CMD=$(command -v sudo)
# re-use separately instead of all this or nothing.
function func_exit_handler()
{
trap - EXIT SIGTERM
local exit_status=${1:-0}

dlogi "Starting func_exit_handler($exit_status)"
Expand Down
2 changes: 1 addition & 1 deletion case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ start_test()
}

# func_exit_handler() is in hijack.sh
trap 'func_exit_handler $?' EXIT
trap 'func_exit_handler $?' EXIT SIGTERM

if test -z "$MAX_WAIT_FW_LOADING"; then
local _pltf; _pltf=$("$SCRIPT_HOME/tools/sof-dump-status.py" -p)
Expand Down