run_test_with_stat() {
(($# != 2)) && error "the number of arguments is wrong"
- if [ "$USE_OFD" == "yes" ]; then
- run_test "$@"
- return
- fi
-
do_facet $SINGLEMDS "lctl set_param lquota.mdd_obd-${FSNAME}-MDT*.stats=0" > /dev/null
for j in `seq $OSTCOUNT`; do
do_facet ost$j "lctl set_param lquota.${FSNAME}-OST*.stats=0" > /dev/null
resetquota $1 $TSTUSR2
}
+# b=18081
test_25() {
log "run for chown case"
test_25_sub -u
log "run for chgrp case"
test_25_sub -g
}
-run_test_with_stat 25 "test whether quota usage is transfered when chown/chgrp (18081) ==========="
+run_test_with_stat 25 "test if quota usage is transferred on chown/chgrp"
test_26() {
mkdir -p $DIR/$tdir