diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-03-30 18:19:35 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-03-30 18:19:35 +0000 |
commit | 005e724d27a7ad8dbdda44e285f67db5aa316940 (patch) | |
tree | b6a0ff72e11a05be3b20195f359e37b27209e6b9 /test/suite-capture.sh | |
parent | 3a20e1061552455f5f3ddc32e0f95e82f3df5def (diff) | |
download | wireshark-005e724d27a7ad8dbdda44e285f67db5aa316940.tar.gz |
Fix the location of dhcp.pcap.
svn path=/trunk/; revision=41857
Diffstat (limited to 'test/suite-capture.sh')
-rwxr-xr-x | test/suite-capture.sh | 4 |
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 \ |