Commit 0dfb8182 authored by Daniel Shahaf's avatar Daniel Shahaf Committed by Chris Lamb

Fix test failures with upcoming file(1) 5.35. Thanks to Christoph Biedl for the…

Fix test failures with upcoming file(1) 5.35. Thanks to Christoph Biedl for the heads-up in advance. (Closes: #912756)

The regexp now covers both libmagic < 5.35 and libmagic >= 5.35.
Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent f4a93c1b
Pipeline #23947 passed with stage
in 12 minutes and 40 seconds
......@@ -40,7 +40,7 @@ class Tcpdump(Command):
class PcapFile(File):
DESCRIPTION = "tcpdump capture files (.pcap)"
FILE_TYPE_RE = re.compile(r'^tcpdump capture file\b')
FILE_TYPE_RE = re.compile(r'^(tcpdump|pcap) capture file\b')
def compare_details(self, other, source=None):
return [Difference.from_command(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment