From: Wei Liu Date: Fri, 4 Apr 2014 21:33:22 +0000 (-0700) Subject: LU-4802 tests: Create non-stripe dir for cross-MDT opration X-Git-Tag: 2.5.59~93 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=acada175ff9bafdc403065964fec1ab81e34b8aa;p=fs%2Flustre-release.git LU-4802 tests: Create non-stripe dir for cross-MDT opration Create non-stripe dir for cross-MDT link and rename Change-Id: Ic4b6f836cae0242bdd98c9a39ae6c4f93f597cba Signed-off-by: Wei Liu Reviewed-on: http://review.whamcloud.com/9889 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: wangdi Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index d81cf53..57fbe1a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -2838,7 +2838,7 @@ test_39() { run_test 39 "mtime changed on create ===========================" test_39b() { - test_mkdir -p $DIR/$tdir + test_mkdir -p -c1 $DIR/$tdir cp -p /etc/passwd $DIR/$tdir/fopen cp -p /etc/passwd $DIR/$tdir/flink cp -p /etc/passwd $DIR/$tdir/funlink @@ -10122,12 +10122,12 @@ check_path() { test_162() { # Make changes to filesystem [ $PARALLEL == "yes" ] && skip "skip parallel run" && return - test_mkdir -p $DIR/$tdir/d2 + test_mkdir -p -c1 $DIR/$tdir/d2 touch $DIR/$tdir/d2/$tfile touch $DIR/$tdir/d2/x1 touch $DIR/$tdir/d2/x2 - test_mkdir -p $DIR/$tdir/d2/a/b/c - test_mkdir -p $DIR/$tdir/d2/p/q/r + test_mkdir -p -c1 $DIR/$tdir/d2/a/b/c + test_mkdir -p -c1 $DIR/$tdir/d2/p/q/r # regular file FID=$($LFS path2fid $DIR/$tdir/d2/$tfile | tr -d '[]') check_path "$tdir/d2/$tfile" $FSNAME $FID --link 0