blob: e4fbe146dcd5a38b7e4c6b1ffffa5cb725e54bf5 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2023 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
# Test if callback `lost_target` is called on every target rejects metadata and `ended` callback is
# called when all targets are lost at this step.
# The test instance sequence must stay as it is due to addressing scheme
overlay=overlay_pst_conf
RunTest dfu_all_tgts_lost_on_metadata \
dfu_cli_all_targets_lost_on_metadata \
dfu_target_fail_on_metadata \
dfu_target_fail_on_metadata \
dfu_target_fail_on_metadata \
-- -argstest targets=3
overlay="overlay_pst_conf_overlay_psa_conf"
RunTest dfu_all_tgts_lost_on_metadata_psa \
dfu_cli_all_targets_lost_on_metadata \
dfu_target_fail_on_metadata \
dfu_target_fail_on_metadata \
dfu_target_fail_on_metadata \
-- -argstest targets=3