kerneltest/e32test/mediaext/d_nfe.cpp
changeset 126 2b2a51c87b12
parent 123 fc55edbf3919
child 134 95847726fe57
--- a/kerneltest/e32test/mediaext/d_nfe.cpp	Fri Apr 23 22:32:39 2010 +0100
+++ b/kerneltest/e32test/mediaext/d_nfe.cpp	Fri Apr 23 22:38:37 2010 +0100
@@ -873,6 +873,9 @@
 
 		di.iDriveFinalised = EFalse;	// a remount clears the finalised state
 
+		// Make sure we haven't lost the swap partition
+		__ASSERT_ALWAYS(!(di.iEntry.iPartitionType == KPartitionTypePagedData && aInfo.iEntry[i].iPartitionType != KPartitionTypePagedData), NFE_FAULT());
+
 		// Make a copy of the TPartitionEntry
 		di.iEntry = aInfo.iEntry[i];