maddingue / Net-Pcap

Net::Pcap - Interface to pcap(3) LBL packet capture library
3 stars 11 forks source link

Tests fail on OSX Sierra #8

Closed preaction closed 6 years ago

preaction commented 7 years ago

I get the following failure when running the tests on OSX Sierra:

#   Failed test ' - $err must not be null: syntax error in filter expression: syntax error'
#   at t/09-error.t line 25.
#                   'syntax error in filter expression: syntax error'
#     doesn't match '/^(?:parse|syntax) error$/'
# Looks like you failed 1 test of 10.

It appears that libpcap on OSX Sierra has changed the error messages it uses. Ignoring the test failures and installing the module seems to allow it to work correctly.

kentfredric commented 6 years ago

This failure is the same on Linux now also.