X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=87d9bade292be1093732f7c58ffa4aa474703c4b;hp=0ada97c04ab0a3bd2f234e8c8248a2dac42f27a6;hb=6c2bbc022832087f2ff0f65d83e3b0a460e45911;hpb=941bd1f21405fe3d934bbab2f6907f69f5dee372;ds=sidebyside diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 0ada97c..87d9bad 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -9284,8 +9284,10 @@ test_133a() { touch ${testdir}/${tfile} || "touch failed" check_stats $SINGLEMDS "open" 1 check_stats $SINGLEMDS "close" 1 - mknod ${testdir}/${tfile}-pipe p || "mknod failed" - check_stats $SINGLEMDS "mknod" 1 + [ $(lustre_version_code $SINGLEMDS) -ge $(version_code 2.8.54) ] && { + mknod ${testdir}/${tfile}-pipe p || "mknod failed" + check_stats $SINGLEMDS "mknod" 2 + } rm -f ${testdir}/${tfile}-pipe || "pipe remove failed" check_stats $SINGLEMDS "unlink" 1 rm -f ${testdir}/${tfile} || error "file remove failed"