From 02f94f58f3eed8987efc99825d9f127af730387b Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Fri, 14 Nov 2008 10:28:02 +0000
Subject: [PATCH] b=17122 i=Adilger skip sanity test_100 for NETTYPE != tcp

---
 lustre/tests/sanity.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index 1eaf15c13a..0cff0fb882 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -3702,13 +3702,17 @@ test_99f() {
 run_test 99f "cvs commit ======================================="
 
 test_100() {
+	[ "$NETTYPE" = tcp ] || \
+		{ skip "TCP secure port test, not useful for NETTYPE=$NETTYPE" && \
+			return ; }
+
 	remote_ost_nodsh && skip "remote OST with nodsh" && return
 	remote_mds_nodsh && skip "remote MDS with nodsh" && return
 	remote_servers || \
 		{ skip "useless for local single node setup" && return; }
 
 	netstat -tna | ( rc=1; while read PROT SND RCV LOCAL REMOTE STAT; do
-		[ "$PROT" != "$NETTYPE" ] && continue
+		[ "$PROT" != "tcp" ] && continue
 		RPORT=$(echo $REMOTE | cut -d: -f2)
 		[ "$RPORT" != "$ACCEPTOR_PORT" ] && continue
 
-- 
GitLab