]>
git.proxmox.com Git - mirror_frr.git/blob - tests/topotests/docker/inner/entrypoint.sh
2 # SPDX-License-Identifier: MIT
4 # Copyright 2018 Network Device Education Foundation, Inc. ("NetDEF")
6 # Load shared functions
7 CDIR
="$(cd "$
(dirname "${BASH_SOURCE[0]}")" && pwd)"
15 "${CDIR}/compile_frr.sh"
16 "${CDIR}/openvswitch.sh"
18 cd "${FRR_BUILD_DIR}/tests/topotests"
20 log_info
"Setting permissions on /tmp so we can generate logs"
23 if [ $# -eq 0 ] ||
([[ "$1" != /* ]] && [[ "$1" != .
/* ]]); then
24 export TOPOTESTS_CHECK_MEMLEAK
=/tmp
/memleak_
25 export TOPOTESTS_CHECK_STDERR
=Yes
27 --junitxml /tmp
/topotests.xml \