ttcn3: add missing ttcn3-docker-run.sh

After recent refactoring, having this file in /usr/local/bin is required
to run the testsuites.

Change-Id: I23467136af6deaca69e0b43697a06385cb65444d
This commit is contained in:
Oliver Smith 2021-06-01 14:14:06 +02:00
parent 7531cea612
commit 6f7954e869
1 changed files with 9 additions and 1 deletions

View File

@ -145,10 +145,18 @@ check_dir_testsuite() {
prepare_local_bin() {
local scripts="
${DIR_OSMODEV}/src/docker-playground/common/respawn.sh
${DIR_OSMODEV}/src/docker-playground/debian-stretch-titan/ttcn3-docker-run.sh
"
for script in $scripts; do
local script_path_localbin="/usr/local/bin/$(basename "$script")"
local script_path_localbin
local name_install="$(basename "$script")"
case "$name_install" in
ttcn3-docker-run.sh) name_install="ttcn3-docker-run" ;;
esac
script_path_localbin="/usr/local/bin/$name_install"
if [ -x "$script_path_localbin" ]; then
continue
fi