From: Niu Yawei Date: Thu, 15 Aug 2013 10:54:00 +0000 (-0400) Subject: LU-2253 tests: fix typo in test_2 of s-q X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f72a24d0c2cc967011c8e883fbd4d1f5c94da3b6;p=fs%2Flustre-release.git LU-2253 tests: fix typo in test_2 of s-q 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 Change-Id: Ia37df21915dd631c9ee7d8c46249291dc1a6f6b5 Reviewed-on: http://review.whamcloud.com/7341 Tested-by: Hudson Reviewed-by: Emoly Liu Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Johann Lombardi --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 85a9ba0..3861a69 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -480,7 +480,7 @@ test_2() { [ "$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