OSDN Git Service

selftests: tls: skip cmsg_to_pipe tests with TLS=n
authorJakub Kicinski <kuba@kernel.org>
Fri, 25 Mar 2022 23:27:09 +0000 (16:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Mar 2022 21:15:16 +0000 (14:15 -0700)
commit5c7e49be96ea24776a5b5a07c732c477294add00
treea7a9463ec0c1f4540ce850cdd31a0b46ca74b822
parent33b5bc9e703383e396f275d51fc4bafa48dbae5a
selftests: tls: skip cmsg_to_pipe tests with TLS=n

These are negative tests, testing TLS code rejects certain
operations. They won't pass without TLS enabled, pure TCP
accepts those operations.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Fixes: d87d67fd61ef ("selftests: tls: test splicing cmsgs")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/tls.c