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
This commit is contained in:
Vadim Yanitskiy 2020-07-13 05:50:06 +07:00
parent cb478ec0ab
commit eb662c87e2
1 changed files with 1 additions and 1 deletions

View File

@ -49,4 +49,4 @@ done
kill_rm_pidfile "$PIDFILE_PCAP" kill_rm_pidfile "$PIDFILE_PCAP"
kill_rm_pidfile "$PIDFILE_NETCAT" kill_rm_pidfile "$PIDFILE_NETCAT"
gzip "$TTCN3_PCAP_PATH/$TESTCASE.pcap" gzip -f "$TTCN3_PCAP_PATH/$TESTCASE.pcap"