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>
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\')