Since sanity.sh, test_170 always fails in sles11 testing
add it to ALWAYS_EXCEPT when testing on sles11.
This can be removed when we have a real fix for the test.
Test-Parameters: mdsdistro=sles11sp3 ossdistro=sles11sp3 \
clientdistro=sles11sp3 mdsfilesystemtype=ldiskfs \
mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs \
testlist=sanity
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: I76a2bfaad2bff8786ea832a4c9cabb11a71c11e4
Reviewed-on: http://review.whamcloud.com/16146
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
# bug number for skipped tests: LU-2036
ALWAYS_EXCEPT=" 76 $ALWAYS_EXCEPT"
+is_sles11() # LU-4341
+{
+ if [ -r /etc/SuSE-release ]
+ then
+ local vers=$(grep VERSION /etc/SuSE-release | awk '{print $3}')
+ local patchlev=$(grep PATCHLEVEL /etc/SuSE-release |
+ awk '{ print $3 }')
+ if [ $vers -eq 11 ] && [ $patchlev -ge 3 ]; then
+ return 0
+ fi
+ fi
+ return 1
+}
+
+if is_sles11; then # LU-4341
+ ALWAYS_EXCEPT="$ALWAYS_EXCEPT 170"
+fi
+
SRCDIR=$(cd $(dirname $0); echo $PWD)
export PATH=$PATH:/sbin