X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=2b46a12b57f8d172c0074f20065ca5b5cf8606ca;hb=refs%2Fchanges%2F49%2F8549%2F25;hp=e25c2f6d08b1285b6586c16d3239da02fce0822d;hpb=cf7f66d87e52293535cde6e8cc7386e6c1bdfa46;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index e25c2f6..2b46a12 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -447,6 +447,10 @@ test_17g() { [ $(lustre_version_code $SINGLEMDS) -le $(version_code 2.3.55) ] && TESTS="4094 4095" + # skip long symlink name for rhel6.5. + # rhel6.5 has a limit (PATH_MAX - sizeof(struct filename)) + grep -q '6.5' /etc/redhat-release && TESTS="59 60 61 4062 4063" + for i in $TESTS; do local SYMNAME=$(str_repeat 'x' $i) ln -s $SYMNAME $DIR/$tdir/f$i || error "failed $i-char symlink"