From: Nathaniel Clark Date: Fri, 16 Nov 2012 21:22:01 +0000 (-0500) Subject: LU-2200 tests: conf-sanity/32 does not work with IB X-Git-Tag: 2.3.57~40 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e3a592403d9db9e99e348cbae32323a7df265d58;p=fs%2Flustre-release.git LU-2200 tests: conf-sanity/32 does not work with IB Check if running over infiniband and skip test if that is the case. Signed-off-by: Nathaniel Clark Change-Id: I45ca12c15935df268c2699feb7a135b80782664c Reviewed-on: http://review.whamcloud.com/4607 Reviewed-by: Andreas Dilger Reviewed-by: Yu Jian Reviewed-by: Alex Zhuravlev Tested-by: Hudson Tested-by: Maloo --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 6a25571..e399684 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -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\')