1#!/usr/bin/env bash
2# Copyright 2021 Nordic Semiconductor
3# SPDX-License-Identifier: Apache-2.0
4
5source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
6
7# Note:
8# Tests must be added in pairs and in sequence.
9# First test: saves data; second test: verifies it.
10
11# SKIP=(persistence_provisioning_data_save)
12overlay=overlay_pst_conf
13RunTestFlash mesh_pst_prov_data_check persistence_provisioning_data_save -flash_erase
14
15# SKIP=(persistence_provisioning_data_load)
16overlay=overlay_pst_conf
17RunTestFlash mesh_pst_prov_data_check persistence_provisioning_data_load -flash_rm
18
19overlay="overlay_pst_conf_overlay_psa_conf"
20RunTestFlash mesh_pst_prov_data_check_psa persistence_provisioning_data_save -flash_erase
21
22overlay="overlay_pst_conf_overlay_psa_conf"
23RunTestFlash mesh_pst_prov_data_check_psa persistence_provisioning_data_load -flash_rm
24