Change in osmo-dev[master]: ttcn3/wrappers: remove

osmith gerrit-no-reply at lists.osmocom.org
Fri Aug 13 07:30:42 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/25191 )

Change subject: ttcn3/wrappers: remove
......................................................................

ttcn3/wrappers: remove

Leftover from before the script was refactored in
Iecba5391dafc353058d369deb513b156534face1.

Change-Id: Ic0890f71fe37a136580e12ebade979bcf14574c0
---
D ttcn3/wrappers/fake_trx.sh
D ttcn3/wrappers/osmo-bts-trx-respawn.sh
D ttcn3/wrappers/osmo-pcu-respawn.sh
3 files changed, 0 insertions(+), 35 deletions(-)

Approvals:
  osmith: Looks good to me, approved; Verified



diff --git a/ttcn3/wrappers/fake_trx.sh b/ttcn3/wrappers/fake_trx.sh
deleted file mode 100755
index 1d39573..0000000
--- a/ttcn3/wrappers/fake_trx.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh -x
-# Run in a separate script, so we can kill it with "killall"
-
-DIR="$(readlink -f "$(dirname $0)")"
-cd "$DIR"
-PID=""
-
-cleanup() {
-	echo "Caught signal, cleaning up..."
-	set -x
-	kill "$PID"
-	exit 1
-}
-
-trap cleanup "TERM"
-
-./osmocom-bb/src/target/trx_toolkit/fake_trx.py "$@" &
-PID="$!"
-
-set +x
-while true; do
-	sleep 0.1
-done
diff --git a/ttcn3/wrappers/osmo-bts-trx-respawn.sh b/ttcn3/wrappers/osmo-bts-trx-respawn.sh
deleted file mode 100755
index 475f807..0000000
--- a/ttcn3/wrappers/osmo-bts-trx-respawn.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh -x
-# Automatically restart osmo-bts-trx while running TTCN3 tests. See docker-playground.git.
-
-while true; do
-	osmo-bts-trx "$@"
-done
diff --git a/ttcn3/wrappers/osmo-pcu-respawn.sh b/ttcn3/wrappers/osmo-pcu-respawn.sh
deleted file mode 100755
index 3ff7213..0000000
--- a/ttcn3/wrappers/osmo-pcu-respawn.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh -x
-# Automatically restart osmo-pcu while running TTCN3 tests. See docker-playground.git's osmo-pcu-master/respawn.sh.
-
-while true; do
-	osmo-pcu "$@"
-done

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

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Ic0890f71fe37a136580e12ebade979bcf14574c0
Gerrit-Change-Number: 25191
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210813/a84e6660/attachment.htm>


More information about the gerrit-log mailing list