Whamcloud - gitweb
LU-4287 kernel: kernel update RHEL6.5 [2.6.32-431.3.1.el6]
[fs/lustre-release.git] / lustre / tests / sanity.sh
index e25c2f6..2b46a12 100644 (file)
@@ -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"