Whamcloud - gitweb
LU-202 fix the test_23 of sanity-quota.sh
authorNiu Yawei <niu@whamcloud.com>
Tue, 19 Apr 2011 04:12:09 +0000 (21:12 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 29 Apr 2011 16:25:14 +0000 (09:25 -0700)
commit1d0bf2a777010fcc3316be061d7e26367c36f475
tree9b4f442530bc6f557366ae3f29a07d8ec7be2289
parent6697349ea92c2c61a40b8f23655f66de60ca1501
LU-202 fix the test_23 of sanity-quota.sh

test_23() uses a constant value(120000 = ~120M) to check if the
system has enough space to finish the test, so in the large OSTCOUNT
testing environment, the test will fail for short of disk space.

Changes of this patch are:
- Use a reasonable value to check free space instead of magic 120000;
- Specify the stripe index of test file for test_9 and test_23;

Issue:
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: If7cd01b7ce9dc025a0f1b8b70fa9214d70182a86
Reviewed-on: http://review.whamcloud.com/434
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh