osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-dev/+/36769?usp=email )
Change subject: ttcn3/ttcn3.sh: collect_logs: fix tester* paths
......................................................................
ttcn3/ttcn3.sh: collect_logs: fix tester* paths
For ttcn3-bts-test and ttcn3-ggsn-test, the tester dir has the
configuration at the end (…-tester-all etc.). Support that in the
collect_logs function.
Change-Id: I2aaab0c37fffedaeb49a362f77d795f017e2a7da
---
M ttcn3/ttcn3.sh
1 file changed, 14 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/69/36769/1
diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh
index 7cdf4c1..26f76da 100755
--- a/ttcn3/ttcn3.sh
+++ b/ttcn3/ttcn3.sh
@@ -502,11 +502,8 @@
}
collect_logs() {
- # Merge and move logs
- cd /tmp/logs/*-tester
-
# Format logs
- for log in *.merged; do
+ for log in /tmp/logs/*-tester*/*.merged; do
ttcn3_logformat -o "${log}.log" "$log"
sudo rm "$log"
done
--
To view, visit
https://gerrit.osmocom.org/c/osmo-dev/+/36769?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I2aaab0c37fffedaeb49a362f77d795f017e2a7da
Gerrit-Change-Number: 36769
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange