[MERGED] osmo-ttcn3-hacks[master]: log_merge: Fix input filename pattern

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Mar 18 14:23:52 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: log_merge: Fix input filename pattern
......................................................................


log_merge: Fix input filename pattern

Change-Id: Iece1063403673a65007f41b6955e384a67acd45f
---
M log_merge.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/log_merge.sh b/log_merge.sh
index 0a3066e..df52cfe 100755
--- a/log_merge.sh
+++ b/log_merge.sh
@@ -18,8 +18,8 @@
 TEST_CASES=`ls -1 $LOG_FILES | awk 'BEGIN { FS = "-" } { print $2 }' | sort | uniq`
 
 for t in $TEST_CASES; do
-	PREFIX="$BASE_NAME.$t"
-	OUTPUT="$PREFIX.merged"
+	PREFIX="$BASE_NAME-$t"
+	OUTPUT="$BASE_NAME.$t.merged"
 	ttcn3_logmerge $PREFIX-*.log > $OUTPUT
 	echo "Generated $OUTPUT"
 done

-- 
To view, visit https://gerrit.osmocom.org/7367
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iece1063403673a65007f41b6955e384a67acd45f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list