Whamcloud - gitweb
LU-3543 quota: minor fix in s-q test_7c 51/6851/3
authorNiu Yawei <yawei.niu@intel.com>
Tue, 2 Jul 2013 02:41:35 +0000 (22:41 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Jul 2013 04:41:42 +0000 (04:41 +0000)
'do_facet' is missed when setting 'force_reint'.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I92e43f98e4e574e31af21f890454d7150c7c35f0
Reviewed-on: http://review.whamcloud.com/6851
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-quota.sh

index a2cef17..a0ec174 100644 (file)
@@ -1116,7 +1116,8 @@ test_7c() {
        # trigger reintegration
        local procf="osd-$(facet_fstype ost1).$FSNAME-OST*."
        procf=${procf}quota_slave.force_reint
-       $LCTL set_param $procf=1 || "force reintegration failed"
+       do_facet ost1 $LCTL set_param $procf=1 ||
+               error "force reintegration failed"
 
        echo "Stop mds..."
        stop mds1