--- a/kerneltest/f32test/server/t_mmc.cpp Thu Aug 19 11:14:22 2010 +0300
+++ b/kerneltest/f32test/server/t_mmc.cpp Tue Aug 31 16:34:26 2010 +0300
@@ -21,6 +21,7 @@
//
+#define __E32TEST_EXTENSION__
#include <f32file.h>
#include <e32test.h>
#include <f32dbg.h>
@@ -170,7 +171,7 @@
r = TheFs.Delete(mediaPWrdFile);
} while (r == KErrInUse);
- test(r == KErrNone || r == KErrNotFound);
+ test_Value(r, r == KErrNone || r == KErrNotFound);
}
@@ -653,7 +654,7 @@
User::After(1 * 1000 * 1000); // wait to finish writing
r = TheFs.Delete(mediaPWrdFile);
- test(r == KErrNone || r == KErrNotFound);
+ test_Value(r, r == KErrNone || r == KErrNotFound);
test(TBusLocalDrive::WritePasswordData(noMappings) == KErrNone);
// check contents of password file correspond to last written buffer.
@@ -816,7 +817,7 @@
mediaPWrdFile[0] = (TUint8) RFs::GetSystemDriveChar();
TParsePtrC ppc(mediaPWrdFile);
TInt r = TheFs.MkDir(ppc.DriveAndPath());
- test(r == KErrNone || r == KErrAlreadyExists);
+ test_Value(r, r == KErrNone || r == KErrAlreadyExists);
// The media driver for the protected area of the SD card uses mount
// info. This is also used for password unlocking by the MMC media driver.