This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: cec-compliance: fix tests that affect msg.flags Author: Hans Verkuil <hans.verk...@cisco.com> Date: Fri Nov 4 10:43:34 2016 +0100 Several tests assumed that the cec_msg flags field was always 0, but that is no longer the case. Update the tests. Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> utils/cec-compliance/cec-test-adapter.cpp | 7 +++++++ 1 file changed, 7 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=cad302175706a503fb0b73ff2032cbfc22d58c7a diff --git a/utils/cec-compliance/cec-test-adapter.cpp b/utils/cec-compliance/cec-test-adapter.cpp index 12b1578dc7db..d3d3f7724e1f 100644 --- a/utils/cec-compliance/cec-test-adapter.cpp +++ b/utils/cec-compliance/cec-test-adapter.cpp @@ -273,6 +273,7 @@ int testTransmit(struct node *node) msg.len = 1; msg.timeout = 0; msg.reply = 0; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); @@ -307,6 +308,7 @@ int testTransmit(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | i; msg.timeout = 1001; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, true); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.len != 5); @@ -329,6 +331,7 @@ int testTransmit(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | i; msg.timeout = 0; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, false); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.timeout); @@ -351,6 +354,7 @@ int testTransmit(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | i; msg.timeout = 1002; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, true); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.timeout != 1002); @@ -371,6 +375,7 @@ int testTransmit(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | i; msg.timeout = 0; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, false); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.timeout); @@ -523,6 +528,7 @@ int testNonBlocking(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | invalid_remote; msg.timeout = 0; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, true); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.len != 2); @@ -616,6 +622,7 @@ int testNonBlocking(struct node *node) memset(&msg, 0xff, sizeof(msg)); msg.msg[0] = (la << 4) | remote_la; msg.timeout = 0; + msg.flags &= ~CEC_MSG_FL_REPLY_TO_FOLLOWERS; cec_msg_give_physical_addr(&msg, true); fail_on_test(doioctl(node, CEC_TRANSMIT, &msg)); fail_on_test(msg.len != 2); _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits