aboutsummaryrefslogtreecommitdiffstats
path: root/tools/test-captures.sh
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-31 01:38:55 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2013-05-31 01:38:55 +0000
commitc56c403a520e05dbe2eee32762c35f502b82dff2 (patch)
treec9d204965084f7c4d5bf37b47a2363f58934b7dd /tools/test-captures.sh
parentecf32a1e7ae44755e55339e393b082785186b972 (diff)
As discussed in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8728#c4 :
Running tshark with a read filter ("-R") and without building the full tree ("-V") causes it to run into some more bugs (usually loops adding more than 100000 items to the tree). Add some (commented out for now) code to do this... svn path=/trunk/; revision=49643
Diffstat (limited to 'tools/test-captures.sh')
-rwxr-xr-xtools/test-captures.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/test-captures.sh b/tools/test-captures.sh
index e652c28c5e..00615da792 100755
--- a/tools/test-captures.sh
+++ b/tools/test-captures.sh
@@ -55,6 +55,17 @@ do
if $BIN_DIR/tshark -nr $file > /dev/null
then
echo "OK"
+ # We may not be ready to looking for all these bugs yet...
+ #echo -n " - without tree but with a read filter... "
+ #export WIRESHARK_ABORT_ON_DISSECTOR_BUG=
+ #if $BIN_DIR/tshark -Rframe -nr $file > /dev/null
+ #then
+ # echo "OK"
+ #else
+ # echo "Failed"
+ # exit 1
+ #fi
+ #unset WIRESHARK_ABORT_ON_DISSECTOR_BUG
else
echo "Failed"
exit 1