From 836bf568ef7fb8664395e28a481ecc10a6d2e2cd Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 12 Aug 2021 14:08:59 +0200 Subject: [PATCH] ttcn3/wrappers: remove Leftover from before the script was refactored in Iecba5391dafc353058d369deb513b156534face1. Change-Id: Ic0890f71fe37a136580e12ebade979bcf14574c0 --- ttcn3/wrappers/fake_trx.sh | 23 ----------------------- ttcn3/wrappers/osmo-bts-trx-respawn.sh | 6 ------ ttcn3/wrappers/osmo-pcu-respawn.sh | 6 ------ 3 files changed, 35 deletions(-) delete mode 100755 ttcn3/wrappers/fake_trx.sh delete mode 100755 ttcn3/wrappers/osmo-bts-trx-respawn.sh delete mode 100755 ttcn3/wrappers/osmo-pcu-respawn.sh 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