[ros-diffs] [janderwald] 24594: - quit sysreg when checkpoint USETUP_COMPLETED is reached

janderwald at svn.reactos.org janderwald at svn.reactos.org
Sat Oct 21 19:59:16 CEST 2006


Author: janderwald
Date: Sat Oct 21 21:59:15 2006
New Revision: 24594

URL: http://svn.reactos.org/svn/reactos?rev=24594&view=rev
Log:
- quit sysreg when checkpoint USETUP_COMPLETED is reached

Modified:
    trunk/reactos/tools/sysreg/rosboot_test.cpp

Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.cpp?rev=24594&r1=24593&r2=24594&view=diff
==============================================================================
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Sat Oct 21 21:59:15 2006
@@ -137,6 +137,21 @@
 
 			cerr << line << endl;
 
+			if (line.find (_T("SYSREG_CHECKPOINT")) != string::npos)
+			{
+				line.erase (0, line.find (_T("SYSREG_CHECKPOINT")) + 19);
+				if (!_tcsncmp(line.c_str (), _T("USETUP_COMPLETE"), 15))
+				{
+					///
+					/// we need to stop the emulator to avoid
+					/// looping again into USETUP (at least with bootcdregtest)
+
+					return false;
+				}
+
+			}
+
+
 			if (line.find (_T("*** Fatal System Error")) != string::npos)
 			{
 				cerr << "BSOD detected" <<endl;




More information about the Ros-diffs mailing list