Whamcloud - gitweb
LU-3790 tests: test_pios_ssf failed with 24 97/7397/2
authorKonstantin Sandalov <Konstantin_Sandalov@xyratex.com>
Tue, 20 Aug 2013 16:29:24 +0000 (19:29 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 01:56:43 +0000 (01:56 +0000)
Wrong param to get free space in space_check () function

Signed-off-by: Konstantin Sandalov <konstantin_sandalov@xyratex.com>
Change-Id: I34abf6d63f081a515aaf95248bf5c4fc0896e024
Reviewed-on: http://review.whamcloud.com/7397
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-benchmark.sh

index 26b10c6..a56dc84 100644 (file)
@@ -238,7 +238,7 @@ space_check () {
     local stripe=$($LFS getstripe -c $testdir)
 
     # if stripe_count = 1 the size should be less than min ost size, bug 24294
-    local space=$(lfs_df $testdir | grep "summary"  | awk '{print $2}')
+    local space=$(lfs_df $testdir | grep "summary"  | awk '{print $4}')
     [ $stripe -eq 1 ] && space=$(min_ost_size)
 
     local size=$(pios_file_size)