From f5683b151be0e8ba0d41e85a8f99850c7d00e55c Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Mon, 14 Apr 2014 15:07:10 -0700 Subject: [PATCH] LU-4351 tests: skip loop test in SLES11 clients Avoid known failure in test 54c due to SLES specific incompatible implementation flaw in kernel loop devices. Test-Parameters: clientdistro=sles11sp3 testlist=sanity Signed-off-by: Bob Glossman Change-Id: Ia8b33f71ad77418f35db4e4640489d1ba4d3add1 Reviewed-on: http://review.whamcloud.com/9955 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Jinshan Xiong Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index de5dc50..e8cca24 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -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 -- 1.8.3.1