Author: cwittich
Date: Sun Aug 9 19:25:27 2009
New Revision: 42568
URL:
http://svn.reactos.org/svn/reactos?rev=42568&view=rev
Log:
always wait after killing a vm
Modified:
trunk/tools/sysreg2/virt.c
Modified: trunk/tools/sysreg2/virt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/virt.c?rev=42568&…
==============================================================================
--- trunk/tools/sysreg2/virt.c [iso-8859-1] (original)
+++ trunk/tools/sysreg2/virt.c [iso-8859-1] Sun Aug 9 19:25:27 2009
@@ -178,6 +178,7 @@
/* SysregPrintf("Error: Virtual Machine is already running.\n");
goto cleanup; */
system("virsh destroy ReactOS");
+ usleep(1000);
}
/* If the HD image already exists, delete it */
@@ -228,7 +229,7 @@
virDomainUndefine(vDom);
virDomainFree(vDom);
- sleep(1);
+ usleep(1000);
/* If we have a checkpoint to reach for success, assume that
the application used for running the tests (probably
"rosautotest")