From b22e24caa0db1c9dc39f68fc9eec2387053e306c Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Sat, 15 Sep 2012 14:35:03 -0600 Subject: [PATCH] LU-1540 tests: skip sanity test_17m on old MDS Don't run sanity.sh test_17m() in interop mode for 2.2 MDSes (the original LU-1540 fix was included in 2.1.3 and 2.2.94), since they will not create symlinks correctly, and the e2fsck test will fail. Signed-off-by: Andreas Dilger Change-Id: If3da1f8bdf7243bac6c72a2733b488a6e69f2304 Reviewed-on: http://review.whamcloud.com/4004 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Yu Jian Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index da388b4..7a00d4d 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -498,6 +498,9 @@ test_17m() { local i local rc=0 + [ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.2.0) ] && + [ $(lustre_version_code $SINGLEMDS) -le $(version_code 2.2.93) ] && + skip "MDS 2.2.0-2.2.93 do not NUL-terminate symlinks" && return mkdir -p $WDIR long_sym=$short_sym # create a long symlink file -- 1.8.3.1