usb_power_delivery: Add SamplerateError check.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 25 Dec 2015 15:50:59 +0000 (16:50 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 25 Dec 2015 16:20:19 +0000 (17:20 +0100)
decoder/test/usb_power_delivery/test.conf

index 4772842e45f2f87ef487b5082638b58f72f5cc4c..4ee5ac6b4216f53c5b85d99074197cfc3aa8f1c4 100644 (file)
@@ -1,3 +1,8 @@
+test exception_samplerate
+       protocol-decoder usb_power_delivery
+       input misc/no-samplerate.sr
+       output usb_power_delivery exception match SamplerateError
+
 test pixel2015_supply
        protocol-decoder usb_power_delivery channel cc=0 option fulltext=yes
        input usb_power_delivery/pixel_2015/power_supply_20V.sr