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 a parallel work scanning and provisioning work on RPR client and server. Procedure:
8# 1. A provisioner with the RPR client provisions itself;
9# 2. The provisioner provisions a device with the RPR server;
10# 3. The provisioner provisions an unprovisioned device idx 2 through the node with RPR server;
11# 4. The provisioner scans for an unprovisioned device idx 3 through the node with RPR server;
12# 5. The provisioner checks scanning and provisioning succeeded;
13# 6. The provisioner provisions an unprovisioned device idx 3 through the node with RPR server;
14RunTest mesh_prov_pb_remote_parallel \
15	prov_provisioner_pb_remote_client_parallel \
16	prov_device_pb_remote_server_unproved \
17	prov_device_no_oob \
18	prov_device_no_oob \
19	-- -argstest prov-bearer=1
20