From: Konstantin Sandalov Date: Tue, 20 Aug 2013 16:29:24 +0000 (+0300) Subject: LU-3790 tests: test_pios_ssf failed with 24 X-Git-Tag: 2.5.51~65 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ca5dda3cd340937ded268ed7fcf2bb671e3d13c5 LU-3790 tests: test_pios_ssf failed with 24 Wrong param to get free space in space_check () function Signed-off-by: Konstantin Sandalov Change-Id: I34abf6d63f081a515aaf95248bf5c4fc0896e024 Reviewed-on: http://review.whamcloud.com/7397 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Emoly Liu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-benchmark.sh b/lustre/tests/sanity-benchmark.sh index 26b10c6..a56dc84 100644 --- a/lustre/tests/sanity-benchmark.sh +++ b/lustre/tests/sanity-benchmark.sh @@ -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)