1#!/usr/bin/env bash 2# Copyright 2022 Nordic Semiconductor 3# SPDX-License-Identifier: Apache-2.0 4 5source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh 6 7# Test robustness of NPPI procedures by running them multiple times each. Test procedure: 8# 1. Provisioner provisions the second device (prov_device_pb_remote_server) with RPR server through 9# PB-Adv 10# 2. RPR client starts to scan for the third device (prov_device_pb_remote_server_nppi_robustness) 11# through RPR (5 second timeout) and provisions it 12# 3. Execute device key refresh procedure 3 times for the third device. 13# 4. Execute composition refresh procedure 3 times for the third device. 14# 5. Execute address refresh procedure 3 times for the third device. 15# (Step 3-5 is executed without sending a node reset message) 16RunTest mesh_prov_pb_remote_nppi_robustness \ 17 prov_provisioner_pb_remote_client_nppi_robustness \ 18 prov_device_pb_remote_server_unproved \ 19 prov_device_pb_remote_server_nppi_robustness 20 21overlay=overlay_psa_conf 22RunTest mesh_prov_pb_remote_nppi_robustness_psa \ 23 prov_provisioner_pb_remote_client_nppi_robustness \ 24 prov_device_pb_remote_server_unproved \ 25 prov_device_pb_remote_server_nppi_robustness 26