parent
16afad10fb
commit
df478a365d
|
@ -143,7 +143,7 @@ hyphen-bytes {hex2}(-{hex2})+
|
||||||
|
|
||||||
%%
|
%%
|
||||||
|
|
||||||
[[:blank:]\n]+ {
|
[[:blank:]\n\r]+ {
|
||||||
update_location(yyextra, yytext);
|
update_location(yyextra, yytext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -124,6 +124,10 @@ class case_syntax(unittest.TestCase):
|
||||||
dfilter = "icmp and ((icmp.type > 0 and icmp.type < 8) or icmp.type > 8)"
|
dfilter = "icmp and ((icmp.type > 0 and icmp.type < 8) or icmp.type > 8)"
|
||||||
checkDFilterSucceed(dfilter)
|
checkDFilterSucceed(dfilter)
|
||||||
|
|
||||||
|
def test_whitespace(self, checkDFilterSucceed):
|
||||||
|
dfilter = '\ttcp.stream \r\n== 1'
|
||||||
|
checkDFilterSucceed(dfilter)
|
||||||
|
|
||||||
@fixtures.uses_fixtures
|
@fixtures.uses_fixtures
|
||||||
class case_equality(unittest.TestCase):
|
class case_equality(unittest.TestCase):
|
||||||
trace_file = "sip.pcapng"
|
trace_file = "sip.pcapng"
|
||||||
|
|
Loading…
Reference in New Issue