X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-lfsck.sh;fp=lustre%2Ftests%2Fsanity-lfsck.sh;h=69f278373f05f1cd8409300a517830080911e383;hb=9667225cdcf7308402893ff7216fce26df7ee04a;hp=fdd987f7432715b3d2831860aae0da533c1a719a;hpb=8503e73bd936ce286c8acd069ed3285a0b7533b2;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index fdd987f..69f2783 100644 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -1882,6 +1882,11 @@ test_16() { dd if=/dev/zero of=$DIR/$tdir/f0 bs=1M count=1 cancel_lru_locks osc + # created but no setattr or write to the file. + mkdir $DIR/$tdir/d1 + chown $RUNAS_ID:$RUNAS_GID $DIR/$tdir/d1 + $RUNAS createmany -o $DIR/$tdir/d1/o 100 || error "create failed" + echo "Inject failure stub to skip OST-object owner changing" #define OBD_FAIL_LFSCK_BAD_OWNER 0x1613 do_facet $SINGLEMDS $LCTL set_param fail_loc=0x1613