equal
deleted
inserted
replaced
560 { |
560 { |
561 TVolumeInfo volInfo; |
561 TVolumeInfo volInfo; |
562 TInt r = TheFs.Volume(volInfo, gDrive); |
562 TInt r = TheFs.Volume(volInfo, gDrive); |
563 test_KErrNone(r); |
563 test_KErrNone(r); |
564 |
564 |
565 gMediaSize = volInfo.iFree; |
565 gMediaSize = volInfo.iSize; |
566 gSmallFileSize = KBlockSize; |
566 gSmallFileSize = KBlockSize; |
567 gBigFileSize = KBlockSize*20; |
567 gBigFileSize = KBlockSize*20; |
568 while(((2*gBigFileSize)+KOneMeg) > gMediaSize ) |
568 while(((2*gBigFileSize)+KOneMeg) > gMediaSize ) |
569 { |
569 { |
570 gBigFileSize -= (2*KBlockSize); |
570 gBigFileSize -= (2*KBlockSize); |