Change in osmo-ttcn3-hacks[master]: fixup ttcn3-tcpdump-stop.sh: add flag '--force' to gzip

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/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jul 13 08:49:13 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19235 )

Change subject: fixup ttcn3-tcpdump-stop.sh: add flag '--force' to gzip
......................................................................

fixup ttcn3-tcpdump-stop.sh: add flag '--force' to gzip

When a directory path for the "build artifacts" is not specified,
'/tmp' would be used by default.  When running the same text
case more than once, gzip will be asking for confirmation whether
to overwrite the existing capture file.  Let's do this by default.

Change-Id: I357f3d9c5dc5963f4b709166bb659f3f66a721b8
---
M ttcn3-tcpdump-stop.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/ttcn3-tcpdump-stop.sh b/ttcn3-tcpdump-stop.sh
index ac192ca..b2a3a3e 100755
--- a/ttcn3-tcpdump-stop.sh
+++ b/ttcn3-tcpdump-stop.sh
@@ -49,4 +49,4 @@
 kill_rm_pidfile "$PIDFILE_PCAP"
 kill_rm_pidfile "$PIDFILE_NETCAT"
 
-gzip "$TTCN3_PCAP_PATH/$TESTCASE.pcap"
+gzip -f "$TTCN3_PCAP_PATH/$TESTCASE.pcap"

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I357f3d9c5dc5963f4b709166bb659f3f66a721b8
Gerrit-Change-Number: 19235
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200713/47da00f4/attachment.htm>


More information about the gerrit-log mailing list