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

lustre/tests/sanity-quota.sh

index 939afef..7243928 100644 (file)
@@ -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