X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;fp=lustre%2Ftests%2Fsanity.sh;h=6c234887c01d739db9c0b6ba2bba275b21a04643;hb=c5e80faaee65c15bccf3d81a4504bba862cd8fbe;hp=c9f1ee5fa600899a29bf6dbd7d4b423e3dbcc6f2;hpb=c0ce8afc0bc45ce2d06c81d6aa7dbc688cd7e6e3;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c9f1ee5..6c23488 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -15843,10 +15843,12 @@ test_133a() { touch ${testdir}/${tfile} || error "touch failed" check_stats $SINGLEMDS "open" 1 check_stats $SINGLEMDS "close" 1 - # open should match close - ls -lR ${testdir} - check_stats $SINGLEMDS "open" 2 - check_stats $SINGLEMDS "close" 2 + (( $MDS1_VERSION >= $(version_code 2.15.62) )) && { + # open should match close + ls -lR ${testdir} + check_stats $SINGLEMDS "open" 2 + check_stats $SINGLEMDS "close" 2 + } [ $MDS1_VERSION -ge $(version_code 2.8.54) ] && { mknod ${testdir}/${tfile}-pipe p || error "mknod failed" check_stats $SINGLEMDS "mknod" 2