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# Check that disabling LPN gives correct behaviour. 8# 9# In this test the lpn node will enable the lpn feature, and then immediately 10# disables it again. Then we check that the lpn node is actually in a 11# disabled state. This test ensures that a lpn disable call is not overwritten 12# by a subsequent lpn enable call, since the enable call is associated with 13# internal callback structures that might produce incorrect internal state 14# of the LPN module 15RunTest mesh_lpn_disable_check \ 16 friendship_friend_no_est \ 17 friendship_lpn_disable 18 19overlay=overlay_psa_conf 20RunTest mesh_lpn_disable_check_psa \ 21 friendship_friend_no_est \ 22 friendship_lpn_disable 23