1# Copyright (c) 2020 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4if [ -z "$RUNNING_FROM_MAIN_SCRIPT" ]; then
5    echo "Do not run this script directly!"
6    echo "Run $ZEPHYR_BASE/scripts/net/run-sample-tests.sh instead."
7    exit 1
8fi
9
10start_configuration || return $?
11start_zephyr "$overlay" || return $?
12
13start_docker "/net-tools/echo-client -i eth0 192.0.2.1" \
14		     "/net-tools/echo-client -i eth0 2001:db8::1" \
15		     "/net-tools/echo-client -i eth0 192.0.2.1 -t" \
16		     "/net-tools/echo-client -i eth0 2001:db8::1 -t"
17
18wait_docker
19result=$?
20
21stop_zephyr
22