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:
parent
b1aa227cbd
commit
137c5c65bd
4 changed files with 6 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue