From 56043855322be448b5e6d36baf489f6600eee104 Mon Sep 17 00:00:00 2001 From: tianzy Date: Fri, 12 Dec 2008 06:00:40 +0000 Subject: [PATCH] Branch b_release_1_8_0 add more test info to sanity-quota.sh b=17925 i=johann --- lustre/tests/sanity-quota.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 7dcb840..7834df3 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1413,7 +1413,7 @@ test_18() { testfile_size=$(stat -c %s $TESTFILE) [ $testfile_size -ne $((BLK_SZ * 1024 * 100)) ] && \ - error "verifying file failed!" + error "expect $((BLK_SZ * 1024 * 100)), got ${testfile_size}. Verifying file failed!" rm -f $TESTFILE sync; sleep 3; sync; @@ -1533,7 +1533,7 @@ test_18bc_sub() { testfile_size=$(stat -c %s $TESTFILE) [ $testfile_size -ne $((BLK_SZ * 1024 * 100)) ] && \ - error "verifying file failed!" + error "expect $((BLK_SZ * 1024 * 100)), got ${testfile_size}. Verifying file failed!" $SHOW_QUOTA_USER $LFS setquota -u $TSTUSR -b 0 -B 0 -i 0 -I 0 $MOUNT rm -rf $TESTFILE -- 1.8.3.1