Index: /trunk/src/VBox/VMM/testcase/tstSSM.cpp
===================================================================
--- /trunk/src/VBox/VMM/testcase/tstSSM.cpp	(revision 41294)
+++ /trunk/src/VBox/VMM/testcase/tstSSM.cpp	(revision 41295)
@@ -32,4 +32,5 @@
 #include <VBox/param.h>
 #include <iprt/assert.h>
+#include <iprt/file.h>
 #include <iprt/initterm.h>
 #include <iprt/mem.h>
@@ -442,5 +443,5 @@
         cb -= PAGE_SIZE;
         pu8Org += PAGE_SIZE;
-        if (pu8Org > &gabBigMem[sizeof(gabBigMem)])
+        if (pu8Org >= &gabBigMem[sizeof(gabBigMem)])
             pu8Org = &gabBigMem[0];
     }
@@ -507,5 +508,5 @@
         cb -= PAGE_SIZE;
         pu8Org += PAGE_SIZE;
-        if (pu8Org > &gabBigMem[sizeof(gabBigMem)])
+        if (pu8Org >= &gabBigMem[sizeof(gabBigMem)])
             pu8Org = &gabBigMem[0];
     }
@@ -909,4 +910,7 @@
     }
 
+    /* delete */
+    RTFileDelete(pszFilename);
+
     RTPrintf("tstSSM: SUCCESS\n");
     return 0;
