[PATCH] tests: note the kernel configs for -yy options

Mike Frysinger vapier at gentoo.org
Tue Mar 3 00:51:30 UTC 2015


* tests/net-yy.test: Note CONFIG_INET_TCP_DIAG.
* tests/unix-yy.test: Note CONFIG_UNIX_DIAG.
---
 tests/net-yy.test  | 2 +-
 tests/unix-yy.test | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/net-yy.test b/tests/net-yy.test
index 8e6118a..47e3767 100755
--- a/tests/net-yy.test
+++ b/tests/net-yy.test
@@ -15,7 +15,7 @@ rm -f $LOG.* $LOG-*
 
 ./inet-accept-connect-send-recv || {
 	if [ $? -eq 77 ]; then
-		framework_skip_ 'PF_INET SOCK_STREAM is not available'
+		framework_skip_ 'PF_INET SOCK_STREAM (CONFIG_INET_TCP_DIAG) is not available'
 	else
 		fail_ 'inet-accept-connect-send-recv failed'
 	fi
diff --git a/tests/unix-yy.test b/tests/unix-yy.test
index 4a9b889..1845f55 100755
--- a/tests/unix-yy.test
+++ b/tests/unix-yy.test
@@ -20,7 +20,7 @@ addr=unix-yy-local-stream
 
 ./netlink_unix_diag || {
 	if [ $? -eq 77 ]; then
-		framework_skip_ 'NETLINK_SOCK_DIAG for unix domain sockets is not available'
+		framework_skip_ 'NETLINK_SOCK_DIAG for unix domain sockets (CONFIG_UNIX_DIAG) is not available'
 	else
 		fail_ 'netlink_unix_diag failed'
 	fi
-- 
2.3.1





More information about the Strace-devel mailing list