From 122c9110f3b099a0f2e5d995f42f99b385adad4e Mon Sep 17 00:00:00 2001
From: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat, 7 Dec 2019 15:58:26 +0100
Subject: Add an HDCP test-case.

---
 decoder/test/hdcp/test.conf             | 6 ++++++
 decoder/test/hdcp/unknown_device.output | 8 ++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 decoder/test/hdcp/test.conf
 create mode 100644 decoder/test/hdcp/unknown_device.output

(limited to 'decoder')

diff --git a/decoder/test/hdcp/test.conf b/decoder/test/hdcp/test.conf
new file mode 100644
index 0000000..5eaf40e
--- /dev/null
+++ b/decoder/test/hdcp/test.conf
@@ -0,0 +1,6 @@
+test unknown_device
+	protocol-decoder i2c channel scl=0 channel sda=1
+	protocol-decoder hdcp
+	stack i2c hdcp
+	input i2c/hdcp/unknown_device/hdcp.sr
+	output hdcp annotation match unknown_device.output
diff --git a/decoder/test/hdcp/unknown_device.output b/decoder/test/hdcp/unknown_device.output
new file mode 100644
index 0000000..9dad54b
--- /dev/null
+++ b/decoder/test/hdcp/unknown_device.output
@@ -0,0 +1,8 @@
+825208-825791 hdcp: summary: "1.4 Ri' - Link Verification"
+5523648-5524132 hdcp: summary: "NOT HDCP2"
+6266823-6267352 hdcp: summary: "1.4 Bcaps"
+6267448-6267931 hdcp: summary: "1.4 Bcaps"
+6268007-6269080 hdcp: summary: "1.4 An - Session random number"
+6269123-6269884 hdcp: summary: "1.4 Aksv - Transmitter KSV"
+6269918-6270802 hdcp: summary: "1.4 Bksv - Receiver KSV"
+6376782-6377365 hdcp: summary: "1.4 Ri' - Link Verification"
-- 
cgit v1.2.3-70-g09d2