File: test-pdfs.sh

package info (click to toggle)
tcpflow 1.5.2%2Brepack1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 3,428 kB
  • sloc: cpp: 18,481; python: 8,737; sh: 1,343; xml: 1,118; makefile: 392; ansic: 367
file content (14 lines) | stat: -rwxr-xr-x 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#

. $srcdir/test-subs.sh

# create PDFs for all of the pcap files
for i in $DMPDIR/*.pcap
do
  echo $i
  cmd "$TCPFLOW -Fg -e netviz -o tmp$$ -r $i"
  cmd "mv tmp$$/report.pdf `basename $i .pcap`.pdf"
  echo ""
  /bin/rm -rf tmp$$ test?.pdf
done