Whamcloud - gitweb
LU-4351 tests: skip loop test in SLES11 clients 85/10085/2
authorBob Glossman <bob.glossman@intel.com>
Mon, 14 Apr 2014 22:07:10 +0000 (15:07 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 29 Apr 2014 00:14:56 +0000 (00:14 +0000)
Avoid known failure in test 54c due to SLES specific
incompatible implementation flaw in kernel loop devices.

Lustre-commit: f5683b151be0e8ba0d41e85a8f99850c7d00e55c
Lustre-change: http://review.whamcloud.com/9955

Test-Parameters: clientdistro=sles11sp3 testlist=sanity
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Change-Id: If39aa85e8c1f468df532aa93610d3eb7cd8d32f5
Reviewed-on: http://review.whamcloud.com/10085
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/tests/sanity.sh

index 6da110d..378d1ef 100644 (file)
@@ -16,6 +16,22 @@ ALWAYS_EXCEPT="                42a  42b  42c  42d  45   51d   68b   $SANITY_EXCE
 # bug number for skipped tests: LU-2036
 ALWAYS_EXCEPT="                 76     $ALWAYS_EXCEPT"
 
+is_sles11()                                            # LU-4351
+{
+       if [ -r /etc/SuSE-release ]
+       then
+               local vers=`grep VERSION /etc/SuSE-release | awk '{print $3}'`
+               if [ $vers -eq 11 ]
+               then
+                       return 0
+               fi
+       fi
+       return 1
+}
+
+if is_sles11; then                                     # LU-4351
+       ALWAYS_EXCEPT="$ALWAYS_EXCEPT 54c"
+fi
 
 SRCDIR=$(cd $(dirname $0); echo $PWD)
 export PATH=$PATH:/sbin