Change in osmo-dev[master]: ttcn3: add missing ttcn3-docker-run.sh

osmith gerrit-no-reply at lists.osmocom.org
Tue Jun 1 12:15:29 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/24497 )


Change subject: ttcn3: add missing ttcn3-docker-run.sh
......................................................................

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
---
M ttcn3/ttcn3.sh
1 file changed, 9 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/97/24497/1

diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh
index f4888d3..5019c41 100755
--- a/ttcn3/ttcn3.sh
+++ b/ttcn3/ttcn3.sh
@@ -145,10 +145,18 @@
 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_lath_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

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/24497
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I23467136af6deaca69e0b43697a06385cb65444d
Gerrit-Change-Number: 24497
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210601/d24ec658/attachment.htm>


More information about the gerrit-log mailing list