Whamcloud - gitweb
b=17122
authorgrev <grev>
Fri, 14 Nov 2008 10:28:02 +0000 (10:28 +0000)
committergrev <grev>
Fri, 14 Nov 2008 10:28:02 +0000 (10:28 +0000)
i=Adilger
skip sanity test_100 for NETTYPE != tcp

lustre/tests/sanity.sh

index 1eaf15c..0cff0fb 100644 (file)
@@ -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