1#!/usr/bin/env bash
2# Copyright 2023 Nordic Semiconductor
3# SPDX-License-Identifier: Apache-2.0
4
5source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
6
7# Test Beacon cache
8#
9# Test procedure:
10# 0. RX device starts monitoring all accepted SNB messages.
11# 1. TX device sends two identical SNBs to the RX device.
12# 2. TX device sends a secondary SNBs to the RX device, marking the end of the test.
13# 3. RX device verifies that only one of the two identical beacons was processed.
14RunTest mesh_beacon_cache \
15	beacon_tx_beacon_cache \
16	beacon_rx_beacon_cache
17
18overlay=overlay_psa_conf
19RunTest mesh_beacon_cache \
20	beacon_tx_beacon_cache \
21	beacon_rx_beacon_cache
22