In test_2 of s-q, the awk column number should be changed from
5 to 4 when replacing the 'lfs df' with 'lfs_df'.
Test-Parameters: envdefinitions=SLOW=yes testlist=sanity-quota
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ia37df21915dd631c9ee7d8c46249291dc1a6f6b5
Reviewed-on: http://review.whamcloud.com/7341
Tested-by: Hudson
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
[ "$SLOW" = "no" ] && LIMIT=1024 # 1k inodes
- local FREE_INODES=$(lfs_df -i | grep "summary" | awk '{print $5}')
+ local FREE_INODES=$(lfs_df -i | grep "summary" | awk '{print $4}')
[ $FREE_INODES -lt $LIMIT ] &&
skip "not enough free inodes $FREE_INODES required $LIMIT" &&
return