From 5ecf8feda7ab78e86d72597355a79109680e0139 Mon Sep 17 00:00:00 2001 From: Bob Glossman Date: Wed, 3 Jul 2013 13:22:59 -0700 Subject: [PATCH] LU-3553 tests: volatile file test fails interop testing There is no volatile file support in servers before v2.3.60. Add a version check and skip sanity test 185 entirely on old servers to allow interop testing of 2.4+ clients on 2.3 servers. Signed-off-by: Bob Glossman Change-Id: If6aef3a782307b5fe659ffcb8a8f8182f83354bd Reviewed-on: http://review.whamcloud.com/6887 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Nathaniel Clark Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 8beed91..e652021 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -9909,6 +9909,10 @@ run_test 184d "allow stripeless layouts swap" test_185() { # LU-2441 + # LU-3553 - no volatile file support in old servers + [[ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.3.60) ]] || + { skip "Need MDS version at least 2.3.60"; return 0; } + mkdir -p $DIR/$tdir || error "creating dir $DIR/$tdir" touch $DIR/$tdir/spoo local mtime1=$(stat -c "%Y" $DIR/$tdir) -- 1.8.3.1