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.…
==============================================================================
--- 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;