From 005e724d27a7ad8dbdda44e285f67db5aa316940 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 30 Mar 2012 18:19:35 +0000 Subject: Fix the location of dhcp.pcap. svn path=/trunk/; revision=41857 --- test/suite-capture.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/suite-capture.sh') 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 \ -- cgit v1.2.3