Whamcloud - gitweb
b=14471
authorgrev <grev>
Wed, 15 Oct 2008 16:06:39 +0000 (16:06 +0000)
committergrev <grev>
Wed, 15 Oct 2008 16:06:39 +0000 (16:06 +0000)
i=Adilger
replace lustre proc by lctl [set|get]_param

lustre/tests/replay-ost-single.sh

index cdcd690..087aef8 100755 (executable)
@@ -118,7 +118,7 @@ test_5() {
 run_test 5 "Fail OST during iozone"
 
 kbytesfree() {
-   awk '{total+=$1} END {print total}' /proc/fs/lustre/osc/*-osc-*/kbytesfree
+   calc_osc_kbytes kbytesfree
 }
 
 test_6() {