Whamcloud - gitweb
Branch b1_8_gate
authortianzy <tianzy>
Tue, 14 Oct 2008 07:39:43 +0000 (07:39 +0000)
committertianzy <tianzy>
Tue, 14 Oct 2008 07:39:43 +0000 (07:39 +0000)
fix the statistics output of sanity-quota.sh
b=14909
i=adilger
i=grev

lustre/tests/sanity-quota.sh

index 585285d..a16d76b 100644 (file)
@@ -147,7 +147,7 @@ run_test_with_stat() {
            do_facet ost$j "lctl set_param lquota.${FSNAME}-OST*.stats=0" > /dev/null
        done
        run_test "$@"
-       if [ ${STAT:-"yes"} != "no" ]; then
+       if [ ${STAT:-"yes"} != "no" -a -z "$LAST_SKIPPED" ]; then
            echo "statistics info begin ***************************************"
            do_facet mds  "lctl get_param lquota.${FSNAME}-MDT*.stats"
            for j in `seq $OSTCOUNT`; do