From acada175ff9bafdc403065964fec1ab81e34b8aa Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Fri, 4 Apr 2014 14:33:22 -0700 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 1.8.3.1