Whamcloud - gitweb
b=18589
authorgrev <grev>
Tue, 17 Mar 2009 11:05:44 +0000 (11:05 +0000)
committergrev <grev>
Tue, 17 Mar 2009 11:05:44 +0000 (11:05 +0000)
i=Adilger
do df before /proc access

lustre/tests/test-framework.sh

index 7477a7b..676085a 100644 (file)
@@ -2471,6 +2471,7 @@ calc_sum () {
 }
 
 calc_osc_kbytes () {
+        df $MOUNT > /dev/null
         $LCTL get_param -n osc.*[oO][sS][cC][-_][0-9a-f]*.$1 | calc_sum
 }