Whamcloud - gitweb
LU-2200 tests: conf-sanity/32 does not work with IB
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Fri, 16 Nov 2012 21:22:01 +0000 (16:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 26 Nov 2012 22:34:43 +0000 (17:34 -0500)
Check if running over infiniband and skip test if that is the case.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I45ca12c15935df268c2699feb7a135b80782664c
Reviewed-on: http://review.whamcloud.com/4607
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/tests/conf-sanity.sh

index 6a25571..e399684 100644 (file)
@@ -1253,6 +1253,11 @@ t32_check() {
                exit 0
        fi
 
+       if [ -n "$($LCTL list_nids | grep -v '\(tcp\|lo\)[[:digit:]]*$')" ]; then
+               skip "LU-2200: Test cannot run over Infiniband"
+               exit 0
+       fi
+
        local IMGTYPE=$(facet_fstype $SINGLEMDS)
 
        tarballs=$($r find $RLUSTRE/tests -maxdepth 1 -name \'disk*-$IMGTYPE.tar.bz2\')