equal
deleted
inserted
replaced
176 if(TheBuffer.Length()!=KMaxBufSize) |
176 if(TheBuffer.Length()!=KMaxBufSize) |
177 { |
177 { |
178 TheBuffer.SetLength(KMaxBufSize); |
178 TheBuffer.SetLength(KMaxBufSize); |
179 Mem::Fill((void*)TheBuffer.Ptr(),KMaxBufSize,0xab); |
179 Mem::Fill((void*)TheBuffer.Ptr(),KMaxBufSize,0xab); |
180 } |
180 } |
181 TheDiskSize=DiskSize(KDefaultDrive); |
|
182 #if defined(__WINS__) |
181 #if defined(__WINS__) |
183 RemovableDrive=EDriveX; |
182 RemovableDrive=EDriveX; |
184 #else |
183 #else |
185 TDriveList drvList; |
184 TDriveList drvList; |
186 if(KErrNone == TheFs.DriveList(drvList)) |
185 if(KErrNone == TheFs.DriveList(drvList)) |
238 #else |
237 #else |
239 Format(drive); |
238 Format(drive); |
240 // test not run on c: drive but does use it |
239 // test not run on c: drive but does use it |
241 Format(EDriveC); |
240 Format(EDriveC); |
242 #endif |
241 #endif |
|
242 TheDiskSize=DiskSize(KDefaultDrive); |
243 // and set the default directory |
243 // and set the default directory |
244 r=TheFs.MkDirAll(gSessionPath); |
244 r=TheFs.MkDirAll(gSessionPath); |
245 test(r==KErrNone || r==KErrAlreadyExists); |
245 test(r==KErrNone || r==KErrAlreadyExists); |
246 |
246 |
247 r=TheFs.Delete(KFileFiller); |
247 r=TheFs.Delete(KFileFiller); |