X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=793f8c16fda61adb8df07c76f696f4c2a96f5449;hb=69d090b70a6dcf9b17d8b2ee7e85cee712e2a8c0;hp=fe3574be6cb9c9320076d0159b86ce0bd043ef3a;hpb=f4c694e6ee47769f1c41c70650683a7d034d024e;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index fe3574be..793f8c1 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6610,6 +6610,18 @@ test_213() { } run_test 213 "OSC lock completion and cancel race don't crash - bug 18829" +test_214() { # for bug 20133 + mkdir -p $DIR/d214p/d214c + for (( i=0; i < 340; i++ )) ; do + touch $DIR/d214p/d214c/a$i + done + + ls -l $DIR/d214p || error "ls -l $DIR/d214p failed" + mv $DIR/d214p/d214c $DIR/ || error "mv $DIR/d214p/d214c $DIR/ failed" + ls $DIR/d214c || error "ls $DIR/d214c failed" + rm -rf $DIR/d214* || error "rm -rf $DIR/d214* failed" +} +run_test 214 "hash-indexed directory test - bug 20133" # # tests that do cleanup/setup should be run at the end