From: tianzy Date: Fri, 12 Dec 2008 06:00:44 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_130~36 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=5d3683014c501a724a1209b29b377a6c6c0c6e2d;p=fs%2Flustre-release.git Branch HEAD add more test info to sanity-quota.sh b=17925 i=johann --- diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 939afef..7243928 100644 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -1344,7 +1344,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; @@ -1464,7 +1464,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