aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-capture.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-03-30 18:19:35 +0000
committerGerald Combs <gerald@wireshark.org>2012-03-30 18:19:35 +0000
commit005e724d27a7ad8dbdda44e285f67db5aa316940 (patch)
treeb6a0ff72e11a05be3b20195f359e37b27209e6b9 /test/suite-capture.sh
parent3a20e1061552455f5f3ddc32e0f95e82f3df5def (diff)
Fix the location of dhcp.pcap.
svn path=/trunk/; revision=41857
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-xtest/suite-capture.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite-capture.sh b/test/suite-capture.sh
index 8fab50b270..9636f248c9 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -168,7 +168,7 @@ capture_step_10packets_stdout() {
# capture packets via a fifo
capture_step_fifo() {
mkfifo 'fifo'
- (cat $CAPFILE; sleep 1; tail -c +25 $CAPFILE) > fifo &
+ (cat "${CAPTURE_DIR}dhcp.pcap"; sleep 1; tail -c +25 "${CAPTURE_DIR}dhcp.pcap") > fifo &
$DUT -i fifo $TRAFFIC_CAPTURE_PROMISC \
-w ./testout.pcap \
-a duration:$TRAFFIC_CAPTURE_DURATION \
@@ -201,7 +201,7 @@ capture_step_fifo() {
# capture packets via a fifo
capture_step_stdin() {
- (cat $CAPFILE; sleep 1; tail -c +25 $CAPFILE) | \
+ (cat "${CAPTURE_DIR}dhcp.pcap"; sleep 1; tail -c +25 "${CAPTURE_DIR}dhcp.pcap") | \
$DUT -i - $TRAFFIC_CAPTURE_PROMISC \
-w ./testout.pcap \
-a duration:$TRAFFIC_CAPTURE_DURATION \