Whamcloud - gitweb
Branch b1_6
authorjohann <johann>
Wed, 19 Sep 2007 18:59:23 +0000 (18:59 +0000)
committerjohann <johann>
Wed, 19 Sep 2007 18:59:23 +0000 (18:59 +0000)
b=13358
i=nikita

add regression test.

lustre/tests/sanity.sh

index 9a99e91..b4fe708 100644 (file)
@@ -4264,6 +4264,14 @@ enough to cancel $LRU_SIZE_B locks"
 }
 run_test 124 "lru resize ======================================="
 
+test_125() { # 13358
+       mkdir -p $DIR/d125 || error "mkdir failed"
+       $SETSTRIPE $DIR/d125 65536 -1 -1 || error "setstripe failed"
+       setfacl -R -m u:bin:rwx $DIR/d125 || error "setfacl $DIR/d125 failes"
+       ls -ld $DIR/d125 || error "cannot access $DIR/d125"
+}
+run_test 125 "don't return EPROTO when a dir has a non-default striping and ACLs"
+
 TMPDIR=$OLDTMPDIR
 TMP=$OLDTMP
 HOME=$OLDHOME