chmod 0777 $DIR/$tdir || return 2
# always clear fail_loc in case of fail_loc isn't cleared
# properly when previous test failed
chmod 0777 $DIR/$tdir || return 2
# always clear fail_loc in case of fail_loc isn't cleared
# properly when previous test failed
local SOFT_LIMIT=$(do_facet $SINGLEMDS $LCTL get_param -n \
qmt.$FSNAME-QMT0000.md-0x0.soft_least_qunit)
local SOFT_LIMIT=$(do_facet $SINGLEMDS $LCTL get_param -n \
qmt.$FSNAME-QMT0000.md-0x0.soft_least_qunit)