aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dfilter-test.py
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-11-27 06:14:31 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-11-27 06:14:31 +0000
commit1335d05ca4c2eb16a883154a11d0ce5dc6c10f58 (patch)
tree05521002690eeab47ac4d71d509687f5170f6dbc /tools/dfilter-test.py
parent1e5a87248936031d80cdc178ccc668b9dd5a4dab (diff)
- Change the expected output of TVB test ck_eq_1 to match actual behavior
- Remove a test that causes tshark to output an error for an invalid filter (putting the protocol on the right-hand side of the == operator) svn path=/trunk/; revision=26860
Diffstat (limited to 'tools/dfilter-test.py')
-rwxr-xr-xtools/dfilter-test.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/dfilter-test.py b/tools/dfilter-test.py
index 6f2c9bc71a..67de4fa9a8 100755
--- a/tools/dfilter-test.py
+++ b/tools/dfilter-test.py
@@ -1199,14 +1199,7 @@ class TVB(Test):
# string matches the 'eth' protocol, protocols cannot
# work in an '==' comparison yet.
return self.DFilterCount(pkt_http,
- "eth == 00:e0:81:00:b0:28:00:09:6b:88:f6:c9:08:00", None)
-
- def ck_eq_2(self):
- # We expect 0 because even though this byte
- # string matches the 'eth' protocol, protocols cannot
- # work in an '==' comparison yet.
- return self.DFilterCount(pkt_http,
- "00:e0:81:00:b0:28:00:09:6b:88:f6:c9:08:00 == eth", None)
+ "eth == 00:e0:81:00:b0:28:00:09:6b:88:f6:c9:08:00", 0)
def ck_slice_1(self):
return self.DFilterCount(pkt_http,
@@ -1253,7 +1246,6 @@ class TVB(Test):
tests = [
ck_eq_1,
- ck_eq_2,
ck_slice_1,
ck_slice_2,