Whamcloud - gitweb
LU-4060 test: skip sanityn.sh test_74 on older than 2.4.93 MDS 11/7911/4
authorEmoly Liu <emoly.liu@intel.com>
Wed, 9 Oct 2013 15:51:36 +0000 (23:51 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Nov 2013 02:27:40 +0000 (02:27 +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 .

Test-Parameters: testlist=sanityn clientdistro=el6 clientarch=x86_64 serverdistro=el6 serverarch=x86_64 serverjob=lustre-b2_4 serverbuildno=46
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I92d29a8db3ed5d145bd7db7bd18f5593ba80576c
Reviewed-on: http://review.whamcloud.com/7911
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/tests/sanityn.sh

index 1170b2d..597cdc8 100644 (file)
@@ -2537,6 +2537,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