Skip to content

Commit

Permalink
Add test case from bug greatscottgadgets#179.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Aug 29, 2024
1 parent b72d069 commit 1050840
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Binary file added tests/bad-crcs/capture.pcap
Binary file not shown.
13 changes: 13 additions & 0 deletions tests/bad-crcs/reference.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Polling 1 times for unidentified transfer on endpoint 7.1 IN
IN transaction on 7.1, NAK
IN packet on 7.1, CRC 1B
NAK packet
1 invalid groups
1 malformed packet
Malformed packet (possibly IN, but bad CRC) of 3 bytes: [69, B7, DB]
1 invalid groups
1 malformed packet
Malformed packet (possibly IN, but bad CRC) of 3 bytes: [69, B7, DB]
1 invalid groups
1 malformed packet
Malformed packet (possibly SOF, but bad CRC) of 3 bytes: [A5, BB, CE]
1 change: 1 addition & 0 deletions tests/tests.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
analyzer-test-bad-cable
bad-crcs
emf2022-badge
hackrf-connect
hackrf-dfu-enum
Expand Down

0 comments on commit 1050840

Please sign in to comment.