Whamcloud - gitweb
Branch b1_6
authortianzy <tianzy>
Fri, 12 Dec 2008 06:00:34 +0000 (06:00 +0000)
committertianzy <tianzy>
Fri, 12 Dec 2008 06:00:34 +0000 (06:00 +0000)
add more test info to sanity-quota.sh
b=17925
i=johann

lustre/tests/sanity-quota.sh

index 6ab09c7..6a6357b 100644 (file)
@@ -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