From: Eduardo Ramos Testillano Date: Sat, 4 Apr 2015 12:28:02 +0000 (+0200) Subject: Delete .hex file too, not only metadata for segmented frames X-Git-Tag: REFACTORING_TESTING_LIBRARY~192 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=b790da6df5faf7e8dfb2a950e6030fefacebc31e;p=anna.git Delete .hex file too, not only metadata for segmented frames --- diff --git a/example/diameter/launcher/resources/pcap2diameterHex.sh b/example/diameter/launcher/resources/pcap2diameterHex.sh index ae0e163..f5150b0 100755 --- a/example/diameter/launcher/resources/pcap2diameterHex.sh +++ b/example/diameter/launcher/resources/pcap2diameterHex.sh @@ -152,9 +152,9 @@ for group in ${needs_join[@]}; do done # Delete superfluous metadata: -echo "Deleting superfluous metadata ..." +echo "Deleting superfluous buffers & metadata ..." segments=( $(cat $tmpdir/diameter_frames | awk -F\| '{ if ($6 == "") print $1 }') ) -for s in ${segments[@]}; do rm $RESULTS_DIR/$s.metadata; done +for s in ${segments[@]}; do rm $RESULTS_DIR/$s.*; done _exit "Done!" 0