Whamcloud - gitweb
LU-4802 tests: Create non-stripe dir for cross-MDT opration 89/9889/2
authorWei Liu <wei3.liu@intel.com>
Fri, 4 Apr 2014 21:33:22 +0000 (14:33 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 24 Apr 2014 04:01:20 +0000 (04:01 +0000)
Create non-stripe dir for cross-MDT link and rename

Change-Id: Ic4b6f836cae0242bdd98c9a39ae6c4f93f597cba
Signed-off-by: Wei Liu <wei3.liu@intel.com>
Reviewed-on: http://review.whamcloud.com/9889
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index d81cf53..57fbe1a 100644 (file)
@@ -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