From 91aefe90cc77b2cc3f698920d3f1df169d0153f3 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Wed, 2 Dec 2020 14:23:47 -0700 Subject: [PATCH] LU-12866 tests: skip sanity-hsm test 113 sanity-hsm test 113 landed to the b2_12 branch with Lustre version 2.12.3. The code changes that landed with the test require that sanity-hsm test 113 be skipped for all versions of Lustre less than 2.12.3. Test-Parameters: trivial testlist=sanity-hsm Signed-off-by: James Nunez Change-Id: Ia218ead24a0fd95200cbce6b3380a9ced3430c92 Reviewed-on: https://review.whamcloud.com/40845 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Wei Liu --- lustre/tests/sanity-hsm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-hsm.sh b/lustre/tests/sanity-hsm.sh index 7c55db6..1f8561e 100755 --- a/lustre/tests/sanity-hsm.sh +++ b/lustre/tests/sanity-hsm.sh @@ -3937,6 +3937,9 @@ test_112() { run_test 112 "State of recorded request" test_113() { + (( $MDS1_VERSION >= $(version_code 2.12.3) )) || + skip "Need MDS version at least 2.12.3" + local file1=$DIR/$tdir/$tfile local file2=$DIR2/$tdir/$tfile -- 1.8.3.1