0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

* Added a timeout for starting the VM. TODO: handle SIGCHLD from

qemu.
* Do the subversion test on i686-linux.  

svn path=/nixos/trunk/; revision=16923
This commit is contained in:
Eelco Dolstra 2009-09-02 08:36:30 +00:00
parent b1aa227cbd
commit 137c5c65bd
4 changed files with 6 additions and 1 deletions

View file

@ -90,9 +90,11 @@ sub connect {
$self->start;
my $try = 0;
while (1) {
last if -e ($self->{stateDir} . "/running");
sleep 1;
die ("VM " . $self->{name} . " timed out") if $try++ > 180;
}
while (1) {