summaryrefslogtreecommitdiff
path: root/test/suite-capture.sh
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-08-28 02:30:50 +0000
committerEvan Huus <eapache@gmail.com>2013-08-28 02:30:50 +0000
commitc660aab9356a5e8fd4ec552a6b6dd5b1ec6ccbca (patch)
treead93983ebe5e300db827d874f374a5fc0eed3370 /test/suite-capture.sh
parentc1c6545e302e8140c5f6a74e24506586b8a88ce8 (diff)
downloadwireshark-c660aab9356a5e8fd4ec552a6b6dd5b1ec6ccbca.tar.gz
Update the test suite for r51556. Use -Y in one place instead of -R where only
filtering is important. Use -2 and -R together in one place where the counting functionality is important. svn path=/trunk/; revision=51558
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 605c869fb7..1a7b4f2bdf 100755
--- a/test/suite-capture.sh
+++ b/test/suite-capture.sh
@@ -317,7 +317,7 @@ capture_step_read_filter() {
$DUT -i $TRAFFIC_CAPTURE_IFACE $TRAFFIC_CAPTURE_PROMISC \
-w ./testout.pcap \
-a duration:$TRAFFIC_CAPTURE_DURATION \
- -R 'dcerpc.cn_call_id==123456' \
+ -2 -R 'dcerpc.cn_call_id==123456' \
-c 10 \
-f icmp \
>> ./testout.txt 2>&1
@@ -389,7 +389,7 @@ capture_step_snapshot() {
fi
# use tshark to filter out all packets, which are larger than 68 bytes
- $TSHARK -r ./testout.pcap -w ./testout2.pcap -R 'frame.cap_len>68' > ./testout.txt 2>&1
+ $TSHARK -r ./testout.pcap -w ./testout2.pcap -Y 'frame.cap_len>68' > ./testout.txt 2>&1
if [ $? -ne 0 ]; then
echo
capture_test_output_print ./testout.txt