Whamcloud - gitweb
LU-4060 test: skip sanityn.sh test_74 on older than 2.4.93 MDS 00/8700/2
authorJames Nunez <james.a.nunez@intel.com>
Thu, 2 Jan 2014 14:56:22 +0000 (07:56 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Jan 2014 03:49:13 +0000 (03:49 +0000)
2.5 client 2.4 server interop testing shows that sanityn.sh
test_74 needs to be skipped for Lustre MDS versions older than
2.4.93 servers.

This patch is for the b2_5 branch.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I8fd414adcf6bb6b7f8b390f1c52e3fea42701d1b
Reviewed-on: http://review.whamcloud.com/8700
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanityn.sh

index 57bfe15..9340b37 100644 (file)
@@ -2540,6 +2540,9 @@ test_73() {
 run_test 73 "getxattr should not cause xattr lock cancellation"
 
 test_74() {
+       [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.4.93) ] &&
+               skip "Need MDS version at least 2.4.93" && return
+
        dd if=/dev/zero of=$DIR1/$tfile-1 bs=1K count=1
        dd if=/dev/zero of=$DIR1/$tfile-2 bs=1K count=1
        flocks_test 4 $DIR1/$tfile-1 $DIR2/$tfile-2