Whamcloud - gitweb
b=15874
authorgrev <grev>
Mon, 26 May 2008 10:43:03 +0000 (10:43 +0000)
committergrev <grev>
Mon, 26 May 2008 10:43:03 +0000 (10:43 +0000)
i=Adilger

skip test_32a, test_32b for NETTYPE != tcp

lustre/tests/conf-sanity.sh

index 74f04ac..b1579e5 100644 (file)
@@ -1138,6 +1138,7 @@ test_32a() {
         #       there appears to be a lot of assumption here about loopback
         #       devices
         # or maybe this test is just totally useless on a client-only system
+       [ "$NETTYPE" = "tcp" ] || { skip "NETTYPE != tcp" && return 0; }
        [ "$mds_HOST" = "`hostname`" ] || { skip "remote MDS" && return 0; }
        [ "$ost_HOST" = "`hostname`" -o "$ost1_HOST" = "`hostname`" ] || \
                { skip "remote OST" && return 0; }
@@ -1205,6 +1206,7 @@ test_32b() {
         #       there appears to be a lot of assumption here about loopback
         #       devices
         # or maybe this test is just totally useless on a client-only system
+        [ "$NETTYPE" = "tcp" ] || { skip "NETTYPE != tcp" && return 0; }
         [ "$mds_HOST" = "`hostname`" ] || { skip "remote MDS" && return 0; }
         [ "$ost_HOST" = "`hostname`" -o "$ost1_HOST" = "`hostname`" ] || \
                { skip "remote OST" && return 0; }