X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-lfsck.sh;h=2d971cee73c7cd10f03df1ec1a87230a0ea8aeb2;hp=d725d6403b6937d50efa148e9353b7c2d2486d9e;hb=93452566b13360c76852b3d7ae3daa08912925f4;hpb=fabd01968d0fac83e4855da5a5dfe8f68c038ceb diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index d725d64..2d971ce 100644 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -1419,11 +1419,11 @@ test_14() { check_mount_and_prep $LFS setstripe -c 1 -i 0 $DIR/$tdir - local count=$(precreated_ost_obj_count 0 0) - echo "Inject failure stub to simulate dangling referenced MDT-object" #define OBD_FAIL_LFSCK_DANGLING 0x1610 do_facet ost1 $LCTL set_param fail_loc=0x1610 + local count=$(precreated_ost_obj_count 0 0) + createmany -o $DIR/$tdir/f $((count + 31)) touch $DIR/$tdir/guard do_facet ost1 $LCTL set_param fail_loc=0