TT#68855 check.sh: fix errors calling delete_location()

* now it will be called *before* scenario is built
* introduced at b006dee9f8

TODO: move this external tool that can read scenario.yml info
 directly

Change-Id: Ic85ceb2900ea137c96b7d3354d59439fa72a8a96
changes/99/41099/1
Victor Seva 6 years ago
parent b006dee9f8
commit 74a743320f
No known key found for this signature in database
GPG Key ID: B1589889727198E0

@ -251,6 +251,9 @@ delete_locations() {
local sub
for f in ${SCEN_CHECK_DIR}/callee.csv ${SCEN_CHECK_DIR}/caller.csv; do
if ! [ -f "$f" ] ; then
continue
fi
for sub in $(uniq "${f}" | grep "${DOMAIN}" | cut -d\; -f1 | xargs); do
ngcp-kamctl proxy fifo ul.rm location "${sub}@${DOMAIN}" >/dev/null
# delete possible banned user

Loading…
Cancel
Save