kerneltest/f32test/filesystem/fat/t_checkdisk.cpp
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
equal deleted inserted replaced
43:c1f20ce4abcf 44:3e88ff8f41d5
   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);